02-15-2006 09:57 AM
02-15-2006 10:42 AM
There are functions in the Windows SDK that support 64-bit file positioning operations: have a look at SetFilePointer(), for example.
JR
02-16-2006 08:31 AM
Hello,
I think JR is right, you can try use the SetFilePtr function (located in Labwindows/CVI librairies/Formatting and IO Library/SetFilePtr) to replace your fseek() function.
There is not a GetFilePtr that goes with this function but SetFilePtr can do both. SetFilePtr uses origin and offset to set the pointer location, and the location is returned in Position from Start. If you select Origin = 1 (Current position), Offset = 0, and Position from Start = Current Pointer location, your returned value will be the value you would expect GetFilePtr to return.
Regards.
Omar S. NI
02-16-2006 09:57 AM
02-16-2006 10:30 AM
Gerard,
I ran into the same problem when saving video data. Labwindows has some routines that can handle files >2GB buried within their ANSI C library called lowlvlio.h
02-16-2006 10:35 AM