• Advertisement

Archived

This topic is now archived and is closed to further replies.

LARGE_INTEGERs

This topic is 5700 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to be able to calculate how much hard drive space is free on a user''s computer. I am using VC++ in Win32. Obviously, I will be using GetDiskFreeSpaceEx(). However, the function wants to use LARGE_INTEGERs. How would I go about printing such a number (union, actually, containing either a LONGLONG or two DWORDs) using printf/sprintf/fprintf? -Mike

Share this post


Link to post
Share on other sites
Advertisement
Try _i64toa. I don''t think printf family can accept __int64s (which is what LONGLONGs are).

---
Come to #directxdev IRC channel on AfterNET

Share this post


Link to post
Share on other sites

  • Advertisement