How to seek >2gb files with fseek?
-
I need to make a program that uses fxxxx (fopen, ftell, fseek, fread, etc...) functions to support >2gb files. How would I do that? I see _fseeki64.c and _ftelli64.c in crt\src\, but can't figure out how to use those functions in my program (no matter what I do, I get an unresolved external symbol error). A Google search on those functions turns up virtually nothing :(.
-
I need to make a program that uses fxxxx (fopen, ftell, fseek, fread, etc...) functions to support >2gb files. How would I do that? I see _fseeki64.c and _ftelli64.c in crt\src\, but can't figure out how to use those functions in my program (no matter what I do, I get an unresolved external symbol error). A Google search on those functions turns up virtually nothing :(.
I think you'll need to move to the Win32 API functions CreateFile, SetFilePointer, and ReadFile... You can look these up in the Docs. onwards and upwards...
-
I think you'll need to move to the Win32 API functions CreateFile, SetFilePointer, and ReadFile... You can look these up in the Docs. onwards and upwards...