To find out the number of
milliseconds that hae elasped since
windows was started, use the API function
GetTickCount. It returns a long
containing the elapsed time in
milliseconds.
Declare Function GetTickCount& Lib "kernel32" ()
With this function, you can
calculate the number of minutes that have
elapsed since startup. There are 1000
milliseconds in a second. This function
replaces the Win16 GetCurrentTime
function.
|