Page 1 of 1

Compiling

Posted: Tue Jun 25, 2013 9:02 am
by nebojsa
HI all,
Can anyone tell me how can I compiling two RC files in one .exe??
Thanks for help

Re: Compiling

Posted: Tue Jun 25, 2013 9:36 am
by ADutheil
Open with notepad, copy and paste one into the other. No special tool needed.

Re: Compiling

Posted: Tue Jun 25, 2013 11:21 am
by dutch
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.

Re: Compiling

Posted: Tue Jun 25, 2013 12:19 pm
by Richard Chidiak
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

Re: Compiling

Posted: Tue Jun 25, 2013 1:02 pm
by Rick Lipkin
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

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!