Thread: Loading BITMAP Resource

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    9

    Loading BITMAP Resource

    I have my resource file:

    Code:
    MyBitmap BITMAP "image.bmp"

    And I want to load this bitmap resource (MyBitmap) into my main project for display (using Allegro ;D).

    How do I load an internal bitmap into memory through maybe a pointer?

  2. #2
    Work in Progress..... Jaken Veina's Avatar
    Join Date
    Mar 2005
    Location
    Missouri. Go Imos Pizza!
    Posts
    256
    Ask in Windows Programming next time.

    http://winprog.org/tutorial/bitmaps.html should cover what you need.
    Code:
    void function(void)
     {
      function();
     }

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