My first guess would be that your file might be opened in text mode:

>From the MS docs: "The value returned by ftell and _ftelli64 may not reflect 
>the physical byte offset for streams opened in text mode, because text mode 
>causes carriage return-line feed translation. "

Reply via email to