Compiling Resources

This is a discussion on Compiling Resources within the Windows Programming forums, part of the Platform Specific Boards category; I am having quite a lot of trouble adding resources.. like icons and bitmaps to my windows projects. I am ...

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

    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..

    ty
    • "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
    Location
    Estonia
    Posts
    2,318
    Include a resource file to your project.
    Code:
    BMP_ID BITMAP "mybmp.bmp"
    ICON_ID ICON DISCARDABLE "myicon.ico"
    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
    Posts
    638
    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, 04: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, 03:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21