|
-
May 5th, 1999, 12:02 AM
#1
setting time
hi all,
i am having an function to be done in an dll called SetSysTime(char *hostname, LPSYSTEMTIME time).....
where hostname can be NT server name/computer name and time is time to set....if for example if this function is being called from an PC to set the time on NT server...what is the procedure i have to follow up....if u have source code please mail me to [email protected]
ur suggestions are welcome,
thanx,
ramesh
-
May 5th, 1999, 01:38 AM
#2
Re: setting time
why don't u try the API SetSystemTime.
-
May 5th, 1999, 08:13 PM
#3
Re: setting time
You need to use SetSystemTime to actually set the time. To call this sucessfully, you need to enable the SE_SYSTEMTIME_NAME privilege before calling SetSystemTime.
The universe is a figment of its own imagination.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|