Hi, am using NetRemoteTOD from Windows XP to obtain time on Windows2003 Server. The function returns error code 1113, which is some codepage error. What could be the cause of this? The Regional language settings of both PC's are identical.
Printable View
Hi, am using NetRemoteTOD from Windows XP to obtain time on Windows2003 Server. The function returns error code 1113, which is some codepage error. What could be the cause of this? The Regional language settings of both PC's are identical.
try connecting to the time server with windows just to make sure everything is all right "net time \\computername /QUERYSNTP"
If this works you could always shell that and use the return, if it doesn't than you have more problem than your time request function.
Thanks for yours.The net time worked fine even earlier on, but am not sure as to why the NetRemoteTOD function does not give the proper result. It gives my PC time currectly if the first parameter is set to NULL though. Do u know any other function which could give me the time of a remote server over the network.