Original Post
Hi! I have an "unknown" problem with the function "fread". I'm trying to fill a buffer, which size is 0x40000. When I try to fill it, with this line: fread(buffer, 1, 0x4000, fileIn); It's return the size 287h. After, I check for error with "ferror" but, there's not error. After that, I tried to read my buffer in part (loop until I fill it) but the second time I used "fread" in that case, it's return 0, which mean there's not byte read. Do you have a suggestion to pass over that problem ??