Information générale
Catégorie:
Fonctions Windows API
Use the NetRemoteTOD Win32 API function.
Vlad
>We have a time server (attached to a GPS clock) and can set the time of a pc to the time server time using a call to NET.EXE (a WIN utility) with the following code:
>
>run c:\windows\net time \\gpsclock /set /yes
>
>This works OK but the ugly DOS black window flashes up. Anyone know how to do it without the DOS window appearing.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement