Sunday, March 23, 2008

Why do fread and _read return EOF before the end of my file?

There must be a problem in Microsoft's implementation of these functions. I had problems reading bitmap files, but everything worked fine after switching to CreateFile and ReadFile.

No comments: