View Single Post
ME2g's Avatar
Posts: 168 | Thanked: 58 times | Joined on Aug 2010 @ Vienna
#25
Originally Posted by ymartin59 View Post
I have investigated the "last file" open failure. No idea who and why but this is a small but really annoying mistake.
[...]
I do not have the sources at hand but most of the time from my experience the opening of last opened files fails because the file is not in the place where it used to be.
If it is C/C++ then *fopen() returns NULL and in many codes that I have seen this NULL is not checked therefore crashing the application when used with fread() or similar.
But as I said: I do not have the code at hand and I do not know if it is C/C++ code.