CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    21

    Free Disk Space Information

    I've tried to get free drive space information using the API GetDiskFreeSpaceEx(), but ended with some exceptions.

    ...
    ULARGE_INTEGER i64FreeBytes, i64TotalBytes;

    GetDiskFreeSpaceEx(NULL, i64FreeBytes, i64TotalBytes, NULL);
    ...

    I've 'unhandled exception' when executing the API. Any suggestion ?
    Thanks.



  2. #2
    Guest

    Re: Free Disk Space Information

    try:

    GetDiskFreeSpaceEx(NULL, &i64FreeBytes, &i64TotalBytes, NULL);



  3. #3
    Guest

    Re: Free Disk Space Information

    It can't compile.
    Thanks for the suggestion.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured