This is the code that causes an error (I can't figure out why).
ULARGE_INTEGER time1, time2;
time1.LowPart = m_end_time->dwLowDateTime;
time1.HighPart = m_end_time->dwHighDateTime;
time2.LowPart = m_start_time->dwLowDateTime;
time2.HighPart = m_start_time->dwHighDateTime;
time1.QuadPart...
Hi everyone,
I'm having some troubles comparing times with Visual C++. What I want to do is compare the starting time of an action to its end time in order to figure out how long it took.
Now, I can get the time as two DWORDs by using GetSystemTimeAsFileTime(), but I can't subtract them to get...
Hi all,
I'm new to programming under windows, but have some experience under UNIX. I'm trying to get the system time from the computer to the most precise degree possible (well, microseconds are close enough). Under UNIX, I would use the gettimeofday function in the time library. However, I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.