|
Hi all
I would like to ask for advice. I want to be able to set the system clock
programmatically (my computer clock seems to be erratic, but I can get a
reliable time from my modem). According to MSDN there is a function
GetSystemTime in kernel32.dll, which takes a SYSTEMTIME argument and returns
a Boolean for success/failure. This is not one of the functions exposed in
the KernelLibrary class, so I would like to add it. I have looked at the
other function wrappers in the class, and I can see the general pattern, but
I would like to be sure before I start messing around. I thought I could
generate the wrapper automatically using a tool like the Active-X Component
Wizard, but I cannot see how to do it. Could anyone please advise me?
Thanks in advance.
--
Best wishes
Peter Kenny
|