FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Compiling
Posts: 6
Joined: Mon May 13, 2013 10:03 AM
Compiling
Posted: Tue Jun 25, 2013 09:02 AM

HI all,
Can anyone tell me how can I compiling two RC files in one .exe??
Thanks for help

Posts: 368
Joined: Sun May 31, 2009 06:25 PM
Re: Compiling
Posted: Tue Jun 25, 2013 09:36 AM

Open with notepad, copy and paste one into the other. No special tool needed.

Regards,



André Dutheil

FWH 13.04 + HB 3.2 + MSVS 10
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Compiling
Posted: Tue Jun 25, 2013 11:21 AM

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 2304 / 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)
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Compiling
Posted: Tue Jun 25, 2013 12:19 PM

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
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Compiling
Posted: Tue Jun 25, 2013 01:02 PM
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 (fw): Select all Collapse
@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!

Continue the discussion