Re: _findfirsti64() problem
try this:
Code:
LONG lHC = _findfirsti64("C:\\*.*", &fileEntry);
LONG lHD = _findfirsti64("D:\\*.*", &fileEntry);
Re: _findfirsti64() problem
Quote:
Originally Posted by s_k
Why did it fail for "C:"?
Use GetLastError and the other error information functions to learn mode details about the error. See this FAQ
for details.
Re: _findfirsti64() problem
Quote:
Originally Posted by s_k
Why did it fail for "C:"?
And how should I call it correctly for root drives?
Quote:
Originally Posted by MSDN
Provide information about the first instance of a filename that matches the file specified in the filespec argument.
i dont think you can pass a drive letter paramter should be a filename!
if you want to get info about your Drives look here:
Volume Management Functions
Cheers