Problem readinf from file...
I have this as a private on my class:
And this is in its constructor:
unsigned int cantFrames;
fread(&cantFrames, sizeof(unsigned int), 1, ippFile);
My program hangs on that fread. I get that Windows "Send/Don't Send" error... I checked if ippFile was NULL, but it's not... What may be wrong?
Oh, BTW, this is how I stored that data on the file, on a completely different application:
ippFile = fopen(fileName,"wb");
unsigned int cantFrames = 9;
//I wrote more things, but it doesn't matter as I can't even read the first one...