if using a cross cable is a network equivalent, then
you can use the attached unit.

usage is simple

dummydate := orgetnetworktime('\\targetpc')
SetPCSystemTime(dummydate);

don't rembember who i should credit for the details, i just put the two functions in a unit after a quite intensive search where - as far as i remember -'www.torry.net' proved to be very valuable

Lode
Gent
Belgium

----- Original Message ----- From: "Wim Sterns" <[EMAIL PROTECTED]>
To: "Borland's Delphi Discussion List" <[email protected]>
Sent: Thursday, June 07, 2007 2:07 PM
Subject: synchronize time between 2 pc's


Hi,

I have two pc's running windows xp that are connected
via an utp cross cable.
I need to synchronize the clocks of the two pc's
How can I do that ?
Note : I cannot connect these pc's to the internet

Thanks
Wim



____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to