HI all,
Can anyone tell me how can I compiling two RC files in one .exe??
Thanks for help
Compiling
Re: Compiling
Open with notepad, copy and paste one into the other. No special tool needed.
Regards,
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
André Dutheil
FWH 13.04 HB 3.2 BCC 5.82 MinGW 4.5.2 MSVS 10
Re: Compiling
Dear ADutheil
BuildRC.BAT
copy WINXP.RC+EZ4FO1.RC+EZ4FO2.RC+EZ4CFG.RC+EZ4BMP.RC RESOURCE.RC
BRC32.EXE -R RESOURCE.RC
Then use RESOURCE.RC instead of 2 RC files
It may help.
BuildRC.BAT
copy WINXP.RC+EZ4FO1.RC+EZ4FO2.RC+EZ4CFG.RC+EZ4BMP.RC RESOURCE.RC
BRC32.EXE -R RESOURCE.RC
Then use RESOURCE.RC instead of 2 RC files
It may help.
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: Compiling
create with a text file myrc.rc
#include "rc1.rc" your first resource file
#include "rc2.rc"
#include "rc3.rc"
.....
in your make file just myrc.rc
Richard
#include "rc1.rc" your first resource file
#include "rc2.rc"
#include "rc3.rc"
.....
in your make file just myrc.rc
Richard
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Compiling
To All
I copy all my .rc into one monolithic .rc and then compile to .res and link the .res into my .exe .. here is a modified version of Rc2Dll32.bat.
Rick Lipkin
I copy all my .rc into one monolithic .rc and then compile to .res and link the .res into my .exe .. here is a modified version of Rc2Dll32.bat.
Rick Lipkin
Code: Select all
@Echo Off
rem syntax: rc2dll32.bat Your_rc_file !!! without the .RC extension
DEL GroomW32.RC
DEL GroomW32.RES
COPY *.RC GroomW32.RC
C:\BORLAND\BCC582\BIN\brc32 -r %1.rc
del *.iL?
del *.map
del *.obj
del *.~rc
del *.rws
del *.tds
echo done!