Thread: Compiling Resources

  1. #1
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Manassas, VA USA

    Question Compiling Resources

    I am having quite a lot of trouble adding resources.. like icons and bitmaps to my windows projects. I am using DevCPP & have looking through the 'help' tutorials.. and have seen examples of perhaps how to do it.. it appears that a path must be added to the resource under the, 'library options' tab. I am wondering if anyone else uses devcpp and what to go through when adding resources to ye' windows projects..

    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Include a resource file to your project.
    BMP_ID BITMAP "mybmp.bmp"
    Last edited by maxorator; 10-22-2006 at 03:52 AM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #3
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    i keep the icons and bmps in the same directory as the source file. i also have run in to a few problems with limits on resources. Sometimes they can be over come with the resource compiler. i use borland and believe it is the same tourment with resources as devcpp. i have also run in to a limit on the number of dialog boxs that you can have open. also would like to know how to get by the limits. i think it is -lxxx linker options that can be set.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  2. measuring system resources used by a function
    By Aran in forum C Programming
    Replies: 1
    Last Post: 03-13-2006, 05:35 PM
  3. Storing resources into a single file
    By LuckY in forum Game Programming
    Replies: 20
    Last Post: 08-14-2004, 11:28 PM
  4. Adding resources
    By nima_ranjbar in forum Windows Programming
    Replies: 0
    Last Post: 04-14-2002, 11:36 PM
  5. Compiling Resources In MinGW
    By Okiesmokie in forum C++ Programming
    Replies: 2
    Last Post: 03-06-2002, 04:16 PM