Thread: Loading Bitmap under VC++

  1. #1
    Registered User
    Join Date
    Mar 2003

    Loading Bitmap under VC++

    Under VC++6.0
    I have a homework to compress bitmap using LZ77
    I use an API function LoadBitmap() to load bitmap from file
    // Load the bitmap file
    HBITMAP hBitmap = (HBITMAP)::LoadImage(AfxGetInstanceHandle(),
                        m_sFileName, IMAGE_BITMAP, 0, 0,
    // Attach the loaded image to the CBitmap object.
    how can I store bitmap data into an array to begin to compress
    The Beginner

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Last edited by anonytmouse; 05-14-2004 at 01:27 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Loading a bitmap (Without using glaux)
    By Shamino in forum Game Programming
    Replies: 7
    Last Post: 03-16-2006, 09:43 AM
  2. OpenGL -- Bitmaps
    By HQSneaker in forum Game Programming
    Replies: 14
    Last Post: 09-06-2004, 04:04 PM
  3. Loading a Bitmap resource for OpenGL Texture[x]
    By the dead tree in forum Game Programming
    Replies: 4
    Last Post: 08-26-2004, 01:12 PM
  4. Loading bitmap in dll
    By Mithoric in forum Windows Programming
    Replies: 2
    Last Post: 12-22-2003, 01:53 PM
  5. No one can seem to help me, loading bitmap
    By Shadow12345 in forum C++ Programming
    Replies: 7
    Last Post: 12-28-2002, 01:22 PM