Compiling

Post Reply
nebojsa
Posts: 6
Joined: Mon May 13, 2013 10:03 am

Compiling

Post by nebojsa »

HI all,
Can anyone tell me how can I compiling two RC files in one .exe??
Thanks for help
ADutheil
Posts: 352
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: Compiling

Post by ADutheil »

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
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: Compiling

Post 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.
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)
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Compiling

Post 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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Compiling

Post 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!
 
Post Reply