RE: [Dev-C++] Problem with resource file
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Singh, M. \(GE C. F. NonGE\) <mah...@ge...> - 2004-06-07 09:29:06
|
Thanx for replying... I tried as you suggested but i am getting this = error=20 =20 F:\Cygwin\home\mahen\Personal\cpp>windres -v -i menu.rc -o menu.o Using `gcc -E -xc -DRC_INVOKED menu.rc' windres: can't popen `gcc -E -xc -DRC_INVOKED menu.rc': Invalid = argument =20 I have the icon file in the same directory as the menu.rc file =20 Any suggestions -----Original Message----- From: Damien A [mailto:g_...@ho...] Sent: 07 June 2004 11:03 To: Singh, MahendraPratap (GE Commercial Finance, NonGE); = dev...@li... Subject: RE: [Dev-C++] Problem with resource file Assuming you know how to use the compiler at the command-line, type: windres rcfile.rc -o rcfile.o That will compile your resource file without errors, as long as you have = the icon in the same folder. Then compile you .cpp file, and include = the .o file compiled above. i.e type: gcc main.cpp rcfile.o -o main.exe -mwindiws =20 And, it will work. ----Original Message Follows----=20 From: "Singh, MahendraPratap (GE Commercial Finance, NonGE)" = <mah...@ge...>=20 To: <dev...@li...>=20 Subject: [Dev-C++] Problem with resource file=20 Date: Sun, 6 Jun 2004 18:38:56 +0100=20 MIME-Version: 1.0=20 _____ =20 Add photos to your messages with MSN 8. = <http://g.msn.com/8HMAEN/2749??PS=3D47575> Get 2 months FREE*.=20 |