![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
Problem with including resource files in Bloodshed Dev C++
Hi,
I've checked the documentation and googled for help but can't find anything. I create a Windows project and to create the menu, I create a header file which I then copy to the default include directory so that the compiler can find it and then I click on File --> New Resource File and then I save it and name it resource.rc but when I type #include <resource.rc> Sorry if I'm been really, really noobish but I'd really appreciate help! Thanks, Matt. I |
|
|
|
|
|
#2 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 600
Rep Power: 4
![]() |
Re: Problem with including resource files in Bloodshed Dev C++
see some of these resource compiler links
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
Re: Problem with including resource files in Bloodshed Dev C++
Sorry, but please can you explain how that helps?
Thanks very much, Matt. I |
|
|
|
|
|
#4 |
|
Professional Programmer
|
Re: Problem with including resource files in Bloodshed Dev C++
IM not entirely sure if this is true, but have notice that Dev-C++ seems to have a problem including custom files from its root path. Instead you should try putting it in the same place as you source files and use
#include "resource.rc" |
|
|
|
|
|
#5 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 600
Rep Power: 4
![]() |
Re: Problem with including resource files in Bloodshed Dev C++
Dev-C++ and VC++ 2008 Express both lack a resource editor and a resource compiler. You can create the resource file *.rc by hand if you want to but its a lot easier with a resource editor. Then you need the resource compiler to compile the *.rc file so that it can be attached to the executable program. For more information you need to read about them in the link I gave you.
|
|
|
|
|
|
#6 |
|
Hobbyist Programmer
|
Re: Problem with including resource files in Bloodshed Dev C++
Thank you very much! Now I understand!
Once the resource is compiled, do I just copy it into the include directory? Thanks again! Matt. Ireland |
|
|
|
|
|
#7 | |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 600
Rep Power: 4
![]() |
Re: Problem with including resource files in Bloodshed Dev C++
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| resource files for Win32 API | Little Mac | C | 3 | Apr 27th, 2006 9:41 PM |
| Problem with extracting file description from .exe files!!! | Pedja | C++ | 3 | Dec 13th, 2005 12:23 PM |
| Problem with extracting information from .exe files!!! | Pedja | C# | 2 | Dec 12th, 2005 4:32 PM |
| Including files and inclusion guards | some1 | C++ | 11 | Nov 28th, 2005 2:02 PM |
| Including header files | some1 | C++ | 8 | Apr 28th, 2005 9:59 AM |