Ok well I seem to have... 5 minutes later found a solution to my own problem. The only change I made was:
// Replace:
CMemDC.FromHandle(hDC);
// With:
CMemDC.Attach(hDC);
Type: Posts; User: DeusAduro
Ok well I seem to have... 5 minutes later found a solution to my own problem. The only change I made was:
// Replace:
CMemDC.FromHandle(hDC);
// With:
CMemDC.Attach(hDC);
Hello everyone,
So I have my own "simpleBitmap" class which I use to acquire screenshots, and in turn I to a lot of low level manipulation of the pixels (the reason for making a class). Now I know...
Thanks alot guys. The issue was my not opening in binary mode.
And as pointed out the actual point where it stopped was after reading a short 0x1A.
Thanks again.
Hello,
So this is likely a straight forward issue with my use of either fwrite, or fread. Here is a full listing of my test code, and the output it gives. Sorry for the mingling of microsoft...