Thread: loadbitmap()

  1. #1
    Just a Human Anuradh_a's Avatar
    Join Date
    Jan 2008
    Posts
    50

    loadbitmap()

    hi
    how can I load a png image using loadbitmap()???
    thanks

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I believe it's better to use LoadImage instead. LoadBitmap doesn't load anything else than bitmaps, AFAIK.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    137
    Quote Originally Posted by Elysia View Post
    I believe it's better to use LoadImage instead. LoadBitmap doesn't load anything else than bitmaps, AFAIK.
    ???
    LoadImage doesn't load png, of course.
    GDI+ loads png

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Guess I remember wrong.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 09-23-2008, 03:32 AM
  2. LoadBitmap Function
    By ejohns85 in forum Windows Programming
    Replies: 3
    Last Post: 08-27-2006, 06:19 AM
  3. LoadBitmap with variable bitmap name
    By Isometric in forum Windows Programming
    Replies: 2
    Last Post: 11-16-2003, 10:36 PM
  4. Problems with LoadBitmap()
    By minesweeper in forum Windows Programming
    Replies: 4
    Last Post: 04-12-2002, 05:44 PM
  5. Super-Newbie. Need to see how to use LoadBitmap() correctly?
    By Sebastiani in forum Windows Programming
    Replies: 9
    Last Post: 09-07-2001, 01:28 PM