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:39:28
|
Sorry .. forget to inform you . I first tried with=20 windres menu.rc -o menu.o=20 I got the same error. i.e=20 F:\Cygwin\home\mahen\Personal\cpp>windres menu.rc -o menu.o windres: can't popen `gcc -E -xc -DRC_INVOKED menu.rc': Invalid = argument =20 then i looked into the help and added -v for verbose and -i to specify = input file=20 it gives me the same error.=20 =20 =20 -----Original Message----- From: Damien A [mailto:g_...@ho...] Sent: 07 June 2004 11:34 To: Singh, MahendraPratap (GE Commercial Finance, NonGE); = dev...@li... Subject: RE: [Dev-C++] Problem with resource file I said: windres file.rc -o file.o NOT windres -v -i file.rc -o file.o ----Original Message Follows----=20 From: "Singh, MahendraPratap (GE Commercial Finance, NonGE)" = <mah...@ge...>=20 To: "Damien A" <g_...@ho...>, <dev...@li...> = Subject: RE: [Dev-C++] Problem with resource file=20 Date: Mon, 7 Jun 2004 10:28:56 +0100=20 MIME-Version: 1.0=20 Thanx for replying... I tried as you suggested but i am getting this = error=20 F:\Cygwin\home\mahen\Personal\cpp>windres -v -i menu.rc -o menu.o=20 Using `gcc -E -xc -DRC_INVOKED menu.rc'=20 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=20 -----Original Message-----=20 From: Damien A [mailto:g_...@ho...]=20 Sent: 07 June 2004 11:03=20 To: Singh, MahendraPratap (GE Commercial Finance, NonGE); = dev...@li...=20 Subject: RE: [Dev-C++] Problem with resource file=20 Assuming you know how to use the compiler at the command-line, type:=20 windres rcfile.rc -o rcfile.o=20 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:=20 gcc main.cpp rcfile.o -o main.exe -mwindiws=20 And, it will work.=20 ----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 _____ =20 Help STOP spam with the new <http://g.msn.com/8HMAEN/2731??PS=3D47575> = MSN 8 and get 2 months FREE*=20 |