Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MadWombat

    Comparing two system times

    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...
  2. MadWombat

    Comparing two system times

    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...
  3. MadWombat

    Getting System Time in Windows 32

    Ok, I found what I needed. It was the GetSystemTimeAsFileTime function so that I can get the difference in times between two events. Thanks! Paul
  4. MadWombat

    Getting System Time in Windows 32

    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...

Part and Inventory Search

Back
Top