DelphiFAQ Home Search:

Getting the system time of another machine on LAN

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Question:

How can I get the system time of another machine on Lan? Thanx


Answer:

Windows NT:

See API for function NetRemoteTOD

type
NET_API_STATUS = DWORD;

function NetRemoteTOD (UncServerName: LPCWSTR; BufferPtr: Pointer): NET_API_STATUS; stdcall;


Win 9x supports this in a 16bit library, so you either need to write an external 16bit application or you use thunking to call the 16bit DLL from your 32bit app.
There is a freeware unit QTthunk that I used years ago.. search the net for file thunks.zip
Content-type: text/html

Comments:

2015-01-30, 23:46:34
anonymous from Netherlands  
说道:Simply desire to say your artlcie is as amazing. The clarity inyour post is simply spectacular and i can assume you're an expert on this subject. Fine with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please carry on the rewarding work.
2015-01-31, 15:13:20
anonymous from Netherlands  
I and my guys have been reviewing the exleeclnt secrets found on the website while unexpectedly I had a terrible feeling I never thanked you for those techniques. Those young men ended up consequently stimulated to read through them and already have clearly been having fun with them. Appreciation for really being really accommodating as well as for getting variety of useful guides millions of individuals are really eager to learn about. Our sincere regret for not saying thanks to you sooner. http://ndpjccvld.com [url= http://dvjwmmhip.co..mhip[/url] [link= http://thhbib.com]t..bib[/link]
2015-02-10, 09:07:18
anonymous from Venezuela  
medication such http://viagra24h.net ways more terms http://insurance5qts.com only likely http://insurance5plus.com cancel

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: