RE: [Dev-C++] Problem with resource files.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <bis...@bt...> - 2000-11-22 09:22:10
|
I had the same problem - do the following: a) Go to project -> Project Options. remove the resource file name from the second last (from the bottom) text box and click on 'Load Resource..' to load your own resource. There is a bug because of which there is a leading space before the name of the resource file - remove that space. b) All icons, etc. must be specified with the full path because apparantly Dev C++ does not take the project directory to be the current directory - very annoying but that's the only solution I've found. Works like a charm if you follow the above :-) - Biswa. > -----Original Message----- > From: Richard P. Evans [mailto:ev...@ma...] > Sent: 21 November 2000 16:31 > To: dev...@li... > Subject: [Dev-C++] Problem with resource files. > > > I'm having some problems with resource files when I start a > project. Everytime I start a new project Dev-C++ > automatically creates > "Rsrc.rc" in the project and it compiles. If I have a > resource file that I > have added to the project list it ignores it or if I add it > to a makefile > it compiles it but doesn't link. I have tried removing > "Rsrc.rc" from the > project but then it refused to compile because, as it says, > that file is > missing. I have tried copying my resource file to "Rsrc.rc" > which does > then compile but if I am calling for anything, such as > "xyz.ico", which is > in the same directory, the compiler can't find it. What am I doing > wrong? I can't be adding a path to the working directory so > it can find > it. Then it wouldn't be portable. Some one help me through > the proper use > of Dev-C++ when I am starting a project with multiple files > - *.cpp, *.h, > *.rh, and *.rc. Thanks. > > Richard P. Evans > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > |