This will not read the size of C:\. or the room that is taken up in C:\. How can I make it work?
Thanks in advance, August.
Code:HANDLE hFile = CreateFile("C:\", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, 0); DWORD dwFileSize; dwFileSize = GetFileSize(hFile, NULL); char* constant; wsprintf(constant,"%d",dwFileSize); MessageBox(hwnd, constant, "Room taken up in C:", 0);



LinkBack URL
About LinkBacks


