hi, im trying to use fread() to read from a binary file and there is an incredibly annoying problem. It will read the first 100 or so bytes correctly, then the file just closes for no apparent reason. Well i assume its closing, calls to fread are returning 0. I never call fclose(), infact i havent even got around to calling it yet. Is there anything else that could be causing the error. The file is about 150kb so i highly doubt im reaching the EOF.