[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Can't load binary file
- From: "Cezary H. Noweta" <chn@...>
- Date: Sat, 22 Feb 2014 15:47:36 +0100
On 2014-02-22 15:33, Michael Gerbracht wrote:
Any idea what might go wrong?
P.S.: reading a certian block of bytes intead of all ("*a") does not help
thank you very much!
Use "b" at the end of the mode string while opening a file. Probably you
are using a Win C Library - it treats 0x1A as an end of a file.
-- best regards
Cezary H. Noweta