FUNCTION Main()
local oIco, oLogo1, oCur, oBar, oLogo2
MsgLogo( "logofrn5.bmp" )
SET DATE TO BRITISH
SET DELETE ON
SET CONFIRM ON
SET SOFTSEEK ON
// SET RESOURCES TO "CONTABIL.DLL" //,"BWCC32.DLL"
SET 3DLOOK ON
SetHandleCount(80)
REQUEST DBFCDX
RddSetDefault("DBFCDX")
// -------------------- added -------------------------
LoadLibrary( "BWCC32.DLL" )
SET RESOURCES TO "CONTABIL.DLL"
BWCCRegister( GetResources())
Antonio Linares wrote:Stefan,
Could you please post here the RC from the DLL ? thanks
if not exist obj md obj
c:\bcc582\bin\make -faccount.mak
if errorlevel 0 ejemcont.exe
HBDIR=c:\harbour
BCDIR=c:\bcc582
FWDIR=.\..\..
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
ejemcont.PRG \
contabil.PRG \
mntotel.PRG
PROJECT : account.exe
account.exe : $(PRG:.PRG=.OBJ) account.res
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo obj\ejemcont.obj obj\contabil.obj obj\mntotel.obj, + >> b32.bc
echo ejemcont.exe, + >> b32.bc
echo ejemcont.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\hblang.lib + >> b32.bc
echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc
echo $(HBDIR)\lib\rddntx.lib + >> b32.bc
echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc
echo $(HBDIR)\lib\rddfpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
echo $(HBDIR)\lib\hbpp.lib + >> b32.bc
echo $(HBDIR)\lib\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\hbct.lib + >> b32.bc
echo $(HBDIR)\lib\hbpcre.lib + >> b32.bc
echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc
echo $(HBDIR)\lib\xhb.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\psapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST account.res echo account.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
account.res : account.rc
$(BCDIR)\bin\brc32.exe -r account.rc
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 107 guests