Page 1 of 1

GetThreadTimes code problem

PostPosted: Jun 20, 2005 @ 8:47pm
by hidex

PostPosted: Jun 20, 2005 @ 10:30pm
by Dan East

PostPosted: Jun 21, 2005 @ 7:53am
by hidex

PostPosted: Jun 22, 2005 @ 1:41am
by Dan East
Well, my eVC4 install is somehow screwed up. If I open a project that defaults to the PPC 2003 SDK, or try to switch to PPC 2003 SDK via the GUI, eVC4 locks up and maxes out the CPU. I tried uninstalling and reinstalling the PPC 2003 SDK but that didn't help.

Does the "Success" message box appear?

Dan East

PostPosted: Jun 22, 2005 @ 6:16am
by hidex

PostPosted: Jun 25, 2005 @ 9:39am
by hidex

PostPosted: Jun 27, 2005 @ 4:28pm
by hidex

PostPosted: Jun 27, 2005 @ 11:27pm
by hidex

PostPosted: Jun 28, 2005 @ 5:40pm
by refractor
You're only treating the lower 32-bits of the times (and you're treating them as signed integers when they're unsigned).

Read the documentation on the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/filetime_str.asp">FILETIME </a> structure and fix your code accordingly.

PostPosted: Jun 29, 2005 @ 9:02pm
by hidex