Hi, I've currently a very strange problem trying to read data from a file. In this file there is a sequence of objects of this form:
-char //<--| Packed in a single integer by the compiler
The first char rapresents the day field of a date.
Ok. Most of times the program writes and reads its files without errors, but this time, when it tries to read it, it reads some objs and then, just before the first char, an End Of Files occours. The file seems to be correct. Then I opened it with an hex editor, then I changed this char (= 1A) with 1C. And then the program run! I just changed the day and the End of file didn'appear! What do you think about?