Thread: Loading a resource file

  1. #1
    Lariumentiko
    Guest

    Loading a resource file

    Yo everybody. Im wondering if anyone knows how to load a resource file(*.res) to a SDL application instead of using alot of *.BMP files. You know how to do that?

  2. #2
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    You really can't use resourse files with the SDL
    because the SDL is cross platform while .res files
    are only used on windows. You can write utilities to
    combine bitmaps into one and there is the SDL image
    library that lets you load pcx files.

  3. #3
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Or the're programs that can write a file in binary after your
    program data in the .EXE, Can't come up with a name at the
    moment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  2. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  3. Loading an image in from a resource file
    By starcatcher in forum C++ Programming
    Replies: 4
    Last Post: 04-15-2008, 06:44 AM
  4. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  5. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM