Search:

Type: Posts; User: DeusAduro

Search: Search took 0.00 seconds.

  1. Ok well I seem to have... 5 minutes later found a...

    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);
  2. Drawing HBITMAP into CWnd, Acquired from "screenshot"

    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...
  3. Replies
    3
    Views
    4,204

    Thanks alot guys. The issue was my not opening in...

    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.
  4. Replies
    3
    Views
    4,204

    fread failing to read full file

    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...
Results 1 to 4 of 4