View Single Post
Old Feb 27th, 2008, 6:43 PM   #8
Cache
Hobbyist
 
Join Date: Sep 2005
Posts: 266
Rep Power: 4 Cache is on a distinguished road
Re: problems with CopyFileEX

LARGE_INTEGER is a union type. You have to access it's data members which are actually numeric types.

example:
LARGE_INTEGER x, y;
LONGLONG z = (x.QuadPart / y.QuadPart) * 100;

http://msdn2.microsoft.com/en-us/lib...13(VS.85).aspx
Cache is offline   Reply With Quote