NtSetSystemTime() failed

This is a discussion on NtSetSystemTime() failed within the C++ Programming forums, part of the General Programming Boards category; I would be grateful if someone could help with this coding, many thanks in advance. It is a small Native ...

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    7

    NtSetSystemTime() failed

    I would be grateful if someone could help with this coding, many thanks in advance.
    It is a small Native application, the main problem is NtSetSystemTime() failed, although I have the SeSystemtimePrivilege enabled.
    Another issue if sprintf failed to prepared the string needed for NtWriteFile() to work, because a test string ("Testing string for NtWriteFile") can be written into time.txt via NtWriteFile(). So I guess that sprintf did not work under Native environment (i.e. before Windows starts). So the string has to be converted without "stdio.h".

    Some background is included in the code for easy reading.


    Code:
    //======================native.c v2====================================
    /*****************What it can do and cannot ****************************
      1. It fails to set the system time to new time with NtSetSystemTime().
      2. It creates c:\time.txt but fails to write the old time with NtWriteFile().
    
     Tested: It can be successfully compiled using
             Windows Server 2003 SP1 DDK on WINDOWS XP SP3>>
             Build Environments >> Win XP Checked (free) Build Environment
    ***********************************************************************/
    
    #include "ntddk.h"
    #include "stdio.h"
    
    
    NTSTATUS NTAPI NtDisplayString(PUNICODE_STRING String); 
    NTSTATUS NTAPI NtTerminateProcess(HANDLE ProcessHandle, LONG ExitStatus); 
    
    // SystemTime [out]: A pointer to a LARGE_INTEGER structure 
    // that receives the system time. 
    // This value means number of 100-nanosecond units since 1600, 1 January. 
    // Time is incremented 10.000.000 times per second.,i.e 1s=10.000.000
    NTSTATUS NTAPI NtQuerySystemTime(
      OUT PLARGE_INTEGER SystemTime);
    
    
    /* NtSetSystemTime() is similar to NtQuerySystemTime()
       STATUS_SUCCESS is returned if the service is successfully executed.
       STATUS_PRIVILEGE_NOT_HELD is returned if the caller does not have the privilege
         to set the system time.
       STATUS_ACCESS_VIOLATION is returned if the input parameter for the system time 
         cannot be read or the output parameter for the system time cannot be written.
       STATUS_INVALID_PARAMETER is returned if the input system time is negative.
    
       SeSystemtimePrivilege is required to set the system time!!!
    */
    NTSTATUS NTAPI NtSetSystemTime(
      IN PLARGE_INTEGER SystemTime,
      OUT PLARGE_INTEGER PreviousTime);
    
    // converts 64-bit time to user-readable structure TIME_FIELDS.
    NTSYSAPI VOID NTAPI RtlTimeToTimeFields(
      IN PLARGE_INTEGER       Time,
      OUT PTIME_FIELDS        TimeFields);
    
    // converts user-readable structure TIME_FIELDS to 64-bit integer
    NTSYSAPI BOOLEAN NTAPI RtlTimeFieldsToTime(
      IN PTIME_FIELDS         TimeFields,
      OUT PLARGE_INTEGER      Time);
    
    
    NTSTATUS NTAPI NtCreateFile(
    
      OUT PHANDLE             FileHandle,
      IN ACCESS_MASK          DesiredAccess,
      IN POBJECT_ATTRIBUTES   ObjectAttributes,
      OUT PIO_STATUS_BLOCK    IoStatusBlock,
      IN PLARGE_INTEGER       AllocationSize,
      IN ULONG                FileAttributes,
      IN ULONG                ShareAccess,
      IN ULONG                CreateDisposition,
      IN ULONG                CreateOptions,
      IN PVOID                EaBuffer,
      IN ULONG                EaLength);
    
    
    NTSTATUS NTAPI NtWriteFile(
      IN HANDLE               FileHandle,
      IN HANDLE               Event,
      IN PIO_APC_ROUTINE      ApcRoutine,
      IN PVOID                ApcContext,
      OUT PIO_STATUS_BLOCK    IoStatusBlock,
      IN PVOID                Buffer,
      IN ULONG                Length,
      IN PLARGE_INTEGER       ByteOffset,
      IN PULONG               Key);
    
    NTSYSAPI NTSTATUS NTAPI NtClose(
      IN HANDLE Handle);
    
    // Store the current time
    LARGE_INTEGER       MySystemTime;
    // The time to be set
    LARGE_INTEGER       MySystemTimeNew;
    // The time (=MySystemTime) before being set to MySystemTimeNew
    LARGE_INTEGER       MySystemTimeOld;
    
    
    // 
    TIME_FIELDS          TimeFields;
    TIME_FIELDS        MyTimeFields;
    TIME_FIELDS        MyTimeFieldsOld;
    
    
    /* when included, error "'struct' type redefinition"
    typedef struct _TIME_FIELDS {
    
      USHORT                  Year;
      USHORT                  Month;
      USHORT                  Day;
      USHORT                  Hour;
      USHORT                  Minute;
      USHORT                  Second;
      USHORT                  Milliseconds;
      USHORT                  Weekday;
    
    } TIME_FIELDS, *PTIME_FIELDS;
    */
    
    
    UNICODE_STRING wszPath;
    UNICODE_STRING ErrorMonitor;
    
    NTSTATUS Status;
    
    HANDLE hFile;
    OBJECT_ATTRIBUTES objAttr;
    
    IO_STATUS_BLOCK IoStatusBlock;
    
    LARGE_INTEGER FilePos;
    CHAR *strMessage=NULL;
    
    
    void NtProcessStartup(PPEB ppeb)
    {
    
    //get the current system time
    Status = NtQuerySystemTime(&MySystemTime);
    
       if (!NT_SUCCESS(Status)) // not succesful
       {
       //just to check if NtQuerySystemTime() worked.
       RtlInitUnicodeString(&ErrorMonitor,L"Failed to get system time!\n");     
       NtDisplayString(&ErrorMonitor);
       }
    
       else // succesful
    
       {
       //just to show something on the screen. these two lines can be removed.
       RtlInitUnicodeString(&ErrorMonitor,L"Got system time successfully!\n");     
       NtDisplayString(&ErrorMonitor);
    
       // converts 64-bit time to user-readable structure TIME_FIELDS.
       RtlTimeToTimeFields(&MySystemTime,&MyTimeFields);
    
    
       // *************The time (31/12/2009) to be set***************
       // better to take Argument like "native.exe 31/12/2009"
       // but I do not know how to do it. So I use this way:
    
       MyTimeFields.Year=2009;
       MyTimeFields.Month=12;
       MyTimeFields.Day=31;
    
       //converts user-readable structure TIME_FIELDS to 64-bit integer
       RtlTimeFieldsToTime(&MyTimeFields,&MySystemTimeNew);
    
      
       // set new time and the old time is in MySystemTimeOld
       // but testing showed the time was not set to 31/12/2009!!!
       //NtSetSystemTime(&MySystemTimeNew,NULL);
       Status = NtSetSystemTime(&MySystemTimeNew,&MySystemTimeOld);
    
    
       if (!NT_SUCCESS(Status)) // not succesful
           {
           //just to check if NtSetSystemTime() worked.
           RtlInitUnicodeString(&ErrorMonitor,L"Failed to set system time!\n");     
           NtDisplayString(&ErrorMonitor);
           }
    
           else // succesful
      
           {
            //just to check if NtSetSystemTime() worked.
            RtlInitUnicodeString(&ErrorMonitor,L"System time has been set successfully!\n");     
            NtDisplayString(&ErrorMonitor);
    
            // converts 64-bit time to user-readable structure TIME_FIELDS.
            RtlTimeToTimeFields(&MySystemTimeOld,&MyTimeFieldsOld);
    
    
            // The old time in MyTimeFieldsOld is written into c:\time.txt
            RtlInitUnicodeString(&wszPath, L"\\??\\c:\\Time.txt");
    
            InitializeObjectAttributes(&objAttr, &wszPath, OBJ_OPENIF, NULL, NULL);
    
    
            NtCreateFile(&hFile, FILE_GENERIC_WRITE, &objAttr, &IoStatusBlock,0,
                    FILE_ATTRIBUTE_NORMAL,FILE_SHARE_WRITE, FILE_OVERWRITE_IF,
                    FILE_RANDOM_ACCESS|FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT,
                    NULL, 0);
    
    
    /* The following was modified from codes found 
       @ http://software.itags.org/software-application/4470/
       it means to formt strMessage from MyTimeFieldsOld, 
       but ExAllocatePool (or ExAllocatePoolWithTag) returned an error
    
    NtQuerySystemTime(&MySystemTime);
    RtlTimeToTimeFields(&MySystemTime,&TimeFields);
    strMessage = (CHAR *)ExAllocatePoolWithTag( NonPagedPool, 99 * sizeof(CHAR),'1gaT');
    RtlZeroMemory( strMessage, 99 * sizeof(CHAR));
    
    
    sprintf(strMessage, "%4d-%02d-%02d %02d:%02d:%02d\t%s\r\n",
    TimeFields.Year,
    TimeFields.Month,
    TimeFields.Day,
    TimeFields.Hour,
    TimeFields.Minute,
    TimeFields.Second,
    "0123456789"
    );
    
    */
    
    
    //use this to test NtWriteFile()
    strMessage = "Testing string for NtWriteFile";
    
    
    
            // write the old time into the Time.txt file. 
            // but testing showed nothing was written to the file !!!!
               NtWriteFile(hFile, NULL, NULL, NULL, &IoStatusBlock,
                          strMessage,strlen(strMessage), &FilePos, NULL);
    
    
            //just to show something on the screen. these two lines can be removed.
            //RtlInitUnicodeString(&helloWorld,L"Hello World!\n");     
            //NtDisplayString(&helloWorld); 
            }
        }
    
    NtClose(&hFile);
    
    //Terminate
    NtTerminateProcess( NtCurrentProcess(), 0 ); 
    
    }
    
    //===========================end======================================

  2. #2
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,231
    Code:
    //======================native.c v2====================================
    /*****************What it can do and cannot ****************************
      1. It fails to set the system time to new time with NtSetSystemTime().
      2. It creates c:\time.txt but fails to write the old time with NtWriteFile().
    
     Tested: It can be successfully compiled using
             Windows Server 2003 SP1 DDK on WINDOWS XP SP3>>
             Build Environments >> Win XP Checked (free) Build Environment
    ***********************************************************************/
    
    #include "ntddk.h"
    #include "stdio.h"
    
    
    NTSTATUS NTAPI NtDisplayString(PUNICODE_STRING String); 
    NTSTATUS NTAPI NtTerminateProcess(HANDLE ProcessHandle, LONG ExitStatus); 
    
    // SystemTime [out]: A pointer to a LARGE_INTEGER structure 
    // that receives the system time. 
    // This value means number of 100-nanosecond units since 1600, 1 January. 
    // Time is incremented 10.000.000 times per second.,i.e 1s=10.000.000
    NTSTATUS NTAPI NtQuerySystemTime(
      OUT PLARGE_INTEGER SystemTime);
    
    
    /* NtSetSystemTime() is similar to NtQuerySystemTime()
       STATUS_SUCCESS is returned if the service is successfully executed.
       STATUS_PRIVILEGE_NOT_HELD is returned if the caller does not have the privilege
         to set the system time.
       STATUS_ACCESS_VIOLATION is returned if the input parameter for the system time 
         cannot be read or the output parameter for the system time cannot be written.
       STATUS_INVALID_PARAMETER is returned if the input system time is negative.
    
       SeSystemtimePrivilege is required to set the system time!!!
    */
    NTSTATUS NTAPI NtSetSystemTime(
      IN PLARGE_INTEGER SystemTime,
      OUT PLARGE_INTEGER PreviousTime);
    
    // converts 64-bit time to user-readable structure TIME_FIELDS.
    NTSYSAPI VOID NTAPI RtlTimeToTimeFields(
      IN PLARGE_INTEGER       Time,
      OUT PTIME_FIELDS        TimeFields);
    
    // converts user-readable structure TIME_FIELDS to 64-bit integer
    NTSYSAPI BOOLEAN NTAPI RtlTimeFieldsToTime(
      IN PTIME_FIELDS         TimeFields,
      OUT PLARGE_INTEGER      Time);
    
    
    NTSTATUS NTAPI NtCreateFile(
    
      OUT PHANDLE             FileHandle,
      IN ACCESS_MASK          DesiredAccess,
      IN POBJECT_ATTRIBUTES   ObjectAttributes,
      OUT PIO_STATUS_BLOCK    IoStatusBlock,
      IN PLARGE_INTEGER       AllocationSize,
      IN ULONG                FileAttributes,
      IN ULONG                ShareAccess,
      IN ULONG                CreateDisposition,
      IN ULONG                CreateOptions,
      IN PVOID                EaBuffer,
      IN ULONG                EaLength);
    
    
    NTSTATUS NTAPI NtWriteFile(
      IN HANDLE               FileHandle,
      IN HANDLE               Event,
      IN PIO_APC_ROUTINE      ApcRoutine,
      IN PVOID                ApcContext,
      OUT PIO_STATUS_BLOCK    IoStatusBlock,
      IN PVOID                Buffer,
      IN ULONG                Length,
      IN PLARGE_INTEGER       ByteOffset,
      IN PULONG               Key);
    
    NTSYSAPI NTSTATUS NTAPI NtClose(
      IN HANDLE Handle);
    
    // Store the current time
    LARGE_INTEGER       MySystemTime;
    // The time to be set
    LARGE_INTEGER       MySystemTimeNew;
    // The time (=MySystemTime) before being set to MySystemTimeNew
    LARGE_INTEGER       MySystemTimeOld;
    
    
    // 
    TIME_FIELDS          TimeFields;
    TIME_FIELDS        MyTimeFields;
    TIME_FIELDS        MyTimeFieldsOld;
    
    
    /* when included, error "'struct' type redefinition"
    typedef struct _TIME_FIELDS {
    
      USHORT                  Year;
      USHORT                  Month;
      USHORT                  Day;
      USHORT                  Hour;
      USHORT                  Minute;
      USHORT                  Second;
      USHORT                  Milliseconds;
      USHORT                  Weekday;
    
    } TIME_FIELDS, *PTIME_FIELDS;
    */
    
    
    UNICODE_STRING wszPath;
    UNICODE_STRING ErrorMonitor;
    
    NTSTATUS Status;
    
    HANDLE hFile;
    OBJECT_ATTRIBUTES objAttr;
    
    IO_STATUS_BLOCK IoStatusBlock;
    
    LARGE_INTEGER FilePos;
    CHAR *strMessage=NULL;
    
    
    void NtProcessStartup(PPEB ppeb)
    {
    
    //get the current system time
    Status = NtQuerySystemTime(&MySystemTime);
    
       if (!NT_SUCCESS(Status)) // not succesful
       {
       //just to check if NtQuerySystemTime() worked.
       RtlInitUnicodeString(&ErrorMonitor,L"Failed to get system time!\n");     
       NtDisplayString(&ErrorMonitor);
       }
    
       else // succesful
    
       {
       //just to show something on the screen. these two lines can be removed.
       RtlInitUnicodeString(&ErrorMonitor,L"Got system time successfully!\n");     
       NtDisplayString(&ErrorMonitor);
    
       // converts 64-bit time to user-readable structure TIME_FIELDS.
       RtlTimeToTimeFields(&MySystemTime,&MyTimeFields);
    
    
       // *************The time (31/12/2009) to be set***************
     // better to take Argument like "native.exe 31/12/2009"
     // but I do not know how to do it. So I use this way:
    
       MyTimeFields.Year=2009;
       MyTimeFields.Month=12;
       MyTimeFields.Day=31;
    
       //converts user-readable structure TIME_FIELDS to 64-bit integer
       RtlTimeFieldsToTime(&MyTimeFields,&MySystemTimeNew);
    
      
       // set new time and the old time is in MySystemTimeOld
     // but testing showed the time was not set to 31/12/2009!!!
     //NtSetSystemTime(&MySystemTimeNew,NULL);
       Status = NtSetSystemTime(&MySystemTimeNew,&MySystemTimeOld);
    
    
       if (!NT_SUCCESS(Status)) // not succesful
           {
           //just to check if NtSetSystemTime() worked.
           RtlInitUnicodeString(&ErrorMonitor,L"Failed to set system time!\n");     
           NtDisplayString(&ErrorMonitor);
           }
    
           else // succesful
      
           {
            //just to check if NtSetSystemTime() worked.
            RtlInitUnicodeString(&ErrorMonitor,L"System time has been set successfully!\n");     
            NtDisplayString(&ErrorMonitor);
    
            // converts 64-bit time to user-readable structure TIME_FIELDS.
            RtlTimeToTimeFields(&MySystemTimeOld,&MyTimeFieldsOld);
    
    
            // The old time in MyTimeFieldsOld is written into c:\time.txt
            RtlInitUnicodeString(&wszPath, L"\\??\\c:\\Time.txt");
    
            InitializeObjectAttributes(&objAttr, &wszPath, OBJ_OPENIF, NULL, NULL);
    
    
            NtCreateFile(&hFile, FILE_GENERIC_WRITE, &objAttr, &IoStatusBlock,0,
                    FILE_ATTRIBUTE_NORMAL,FILE_SHARE_WRITE, FILE_OVERWRITE_IF,
                    FILE_RANDOM_ACCESS|FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT,
                    NULL, 0);
    
    
    /* The following was modified from codes found 
       @ http://software.itags.org/software-application/4470/
       it means to formt strMessage from MyTimeFieldsOld, 
       but ExAllocatePool (or ExAllocatePoolWithTag) returned an error
    
    NtQuerySystemTime(&MySystemTime);
    RtlTimeToTimeFields(&MySystemTime,&TimeFields);
    strMessage = (CHAR *)ExAllocatePoolWithTag( NonPagedPool, 99 * sizeof(CHAR),'1gaT');
    RtlZeroMemory( strMessage, 99 * sizeof(CHAR));
    
    
    sprintf(strMessage, "%4d-%02d-%02d %02d:%02d:%02d\t%s\r\n",
    TimeFields.Year,
    TimeFields.Month,
    TimeFields.Day,
    TimeFields.Hour,
    TimeFields.Minute,
    TimeFields.Second,
    "0123456789"
    );
    
    */
    
    
    //use this to test NtWriteFile()
    strMessage = "Testing string for NtWriteFile";
    
    
    
            // write the old time into the Time.txt file. 
     // but testing showed nothing was written to the file !!!!
               NtWriteFile(hFile, NULL, NULL, NULL, &IoStatusBlock,
                          strMessage,strlen(strMessage), &FilePos, NULL);
    
    
            //just to show something on the screen. these two lines can be removed.
     //RtlInitUnicodeString(&helloWorld,L"Hello World!\n");     
     //NtDisplayString(&helloWorld); 
            }
        }
    
    NtClose(&hFile);
    
    //Terminate
    NtTerminateProcess( NtCurrentProcess(), 0 ); 
    
    }
    
    //===========================end======================================
    
    Just to make it easier to read with my CodePainter
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    7
    Thanks for the makeup, Siavosh. I plan to first find out why NtSetSystemTime() failed. can someone contribute a code to show how to use GetLastError() function. I am thinking of sth like
    Code:
        errorCode = 0;
        ...
        Status = NtSetSystemTime(&MySystemTimeNew,NULL);
       if (NT_SUCCESS(Status)) // succesful
           {
            //just to check if NtSetSystemTime() worked.
            RtlInitUnicodeString(&ErrorMonitor,L"System time has been set successfully!\n");     
            NtDisplayString(&ErrorMonitor);
           }
    
           else // Not succesful
      
           {
    
           ...
           //to Get the Last Error code
           errorCode = GetLastError();
           ...
           }
    But I do not know how to get the error code. When compiling the above, I got an error code!!!
    Last edited by medp7060; 03-31-2010 at 12:12 AM.

  4. #4
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,231
    Why are you using this undocumented unsupported functions?

    BTW, generally you call a function and check its return value. If it was not ERROR_SUCCESS either return value is an error code or if not you call GetLastError().
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    7
    You are right, most of Native API functions are "undocumented", but I want to find out why it failed. Obviously, it does not support GetLastError() although some earlier native application code did use this function with "ntdll.h" included.

    Code:
    /* NtSetSystemTime() is similar to NtQuerySystemTime()
       STATUS_SUCCESS is returned if the service is successfully executed.
       STATUS_PRIVILEGE_NOT_HELD is returned if the caller does not have the privilege
         to set the system time.
       STATUS_ACCESS_VIOLATION is returned if the input parameter for the system time 
         cannot be read or the output parameter for the system time cannot be written.
       STATUS_INVALID_PARAMETER is returned if the input system time is negative.
    
       SeSystemtimePrivilege is required to set the system time!!!
    */
    If I identify the cause, I may get it work.

  6. #6
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,231
    You call it native in contrast with .Net (CL), java codebyte or its something else?
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  7. #7
    Registered User
    Join Date
    Mar 2010
    Posts
    7
    Inside Native Application by 1998 Mark Russinovich @
    Code:
    http://doc.sch130.nsc.ru/www.sysinternals.com/ntw2k/info/native.shtml

  8. #8
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,231
    Intresting
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  9. #9
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,158
    Quote Originally Posted by siavoshkc View Post
    Why are you using this undocumented unsupported functions?
    The developers who are willing to use undocumented calls can produce software that does things that you can NEVER do by using standard calls. This is one of our dirty little secrets.

    It's as if doping wasn't banned in the Olympics. One person starts using drugs... Then another and another, and pretty soon you've all got to be doing it, if you want to be competitive.

    Believe me, we're well aware that it sucks.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  10. #10
    Registered User
    Join Date
    Mar 2010
    Posts
    7
    That's true. We all know that NtSetSystemTime() is there, but it is hard to get it work without proper documents. Someone indeed got it work by hooking it with assembly codes. Unfortunately, I cannot do that.

  11. #11
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,231
    Did you read whole the noted article carefully? There were some points in running a native application.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  12. #12
    Registered User
    Join Date
    Mar 2010
    Posts
    7
    "SeSystemtimePrivlege not held" may be the cause, but I am running as Administrator so I have the SeSystemtimePrivlege, as confirmed by Ntrights. I can change system time/date as I want after login. Unless Windows (XP SP3) does not allow the SeSystemtimePrivlege before logon.

    I hope somebody out there is able to add the code to get the SeSystemtimePrivlege here, so the system time can be set

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Find Injected DLLs In A Process?
    By pobri19 in forum Windows Programming
    Replies: 35
    Last Post: 02-06-2010, 08:53 AM
  2. Deleting an object if the constructor failed.
    By g4j31a5 in forum C++ Programming
    Replies: 31
    Last Post: 10-03-2009, 08:52 PM
  3. Thread Prog in C language (seg fault)
    By kumars in forum C Programming
    Replies: 22
    Last Post: 10-09-2008, 01:17 PM
  4. C++ text file
    By statquos in forum C++ Programming
    Replies: 7
    Last Post: 06-12-2008, 01:42 PM
  5. gethostbyaddr() reverse lookups failing (???)
    By Uncle Rico in forum C Programming
    Replies: 9
    Last Post: 08-19-2005, 09:22 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21