Examples Delphi

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