I wrote the fallowing code, but there is an error when I try to read the information, Could some person help me!
void main ()
char *path1 = "C:\\Reconstruction\\quad-HIDAC_data\\Huge_File.lst";
LPVOID buffer = 0;
HANDLE hFile = CreateFile( path1, GENERIC_READ, 0, NULL, OPEN_EXISTING, 0, NULL);
event = ReadFile ( hFile, buffer, 1024, &dwRead, NULL);
error = GetLastError(); // This is the error: 998 Invalid access to memory location. ERROR_NOACCESS
CloseHandle ( hFile);