I use the fopen(filepath, "rb"), but fopen return NULL,
and GetLastError() return 997 (ERROR_IO_PENDING).
I searched about this problem in google, but i can't find anything.
please help me.
ERROR_IO_PENDING means you can't open the file because it is currently open either for writes or for read in non-shared mode.