Ok... I'm writting an application that loads bitmap data from a file and shows it at a specified speed... Ok, I'm having a problem with the speed of fread. At the beginning of the application, I open the file, get some info from the header and then start doing fread of each bitmap and showing it. However, these are the speeds I'm getting with each fread (in miliseconds):
I should be getting 3~5ms of each fread, but I'm getting really slow fread lots of times... Before using fread, I was testing my application by doing a LoadBitmap and then doing a two GetDIBits to get the bmp data (exactly what my file contains now)... Doing that, I was achieving a stable 27 frames per second... As you can see, now I'm getting really poor FPSs and really unstable too... Damn, please tell me you know how to fix it...