cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How to move 2 DWORD to __int64?
How to move 2 DWORD to __int64?
Feb 27, 2009 at 2:16pm UTC
zehdopulo
(2)
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 UTC
Welzevul
(7)
1
2
3
Value|=hightime; Value<<=32; Value|=lowtime;
Feb 27, 2009 at 2:46pm UTC
helios
(17574)
unsigned _int64 x=time.dwHighDateTime;
x<<=32;
x|=time.dwLowDateTime;
Topic archived. No new replies allowed.