How to move 2 DWORD to __int64?

Feb 27, 2009 at 2:16pm
Hi. I have a FILETIME struct that contains 2 DWORD (lowtime and hightime) and, for comparations, I need to move this values to __int64. How I do this?
Thanks
Feb 27, 2009 at 2:45pm
1
2
3
Value|=hightime;
Value<<=32;
Value|=lowtime;
Feb 27, 2009 at 2:46pm
unsigned _int64 x=time.dwHighDateTime;
x<<=32;
x|=time.dwLowDateTime;
Topic archived. No new replies allowed.