error upgrade from fwh7.11 to fwh9.10

error upgrade from fwh7.11 to fwh9.10

Postby acwoo1 » Tue Nov 10, 2009 1:51 pm

I get the following error message:

Error: Unresolved external '_hb_storvnl' referenced from C:\FWH\LIB\FIVEHC.LIB|WINEXEC
Error: Unresolved external '_hb_storvc' referenced from C:\FWH\LIB\FIVEHC.LIB|WINEXEC
Error: Unresolved external '_hb_parvnl' referenced from C:\FWH\LIB\FIVEHC.LIB|HARBOURC
Error: Unresolved external '_hb_storvni' referenced from C:\FWH\LIB\FIVEHC.LIB|WNDIS
Error: Unresolved external '_HB_FUN___CLSLOCKDEF' referenced from C:\FWH\LIB\FIVEH.LIB|WINDOW
Error: Unresolved external '_HB_FUN___DBGVMSTKLCOUNT' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN___DBGVMPARLLIST' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN___DBGVMVARLGET' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN___DBGVMVARSLEN' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR

Please help.

Regards

ACWOO

using FWH9.10+harbour+bcc55
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: error upgrade from fwh7.11 to fwh9.10

Postby Antonio Linares » Tue Nov 10, 2009 2:03 pm

Acwoo,

You need to use this Harbour:
http://www.fivetechsoft.com/files/harbour.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error upgrade from fwh7.11 to fwh9.10

Postby acwoo1 » Tue Nov 10, 2009 3:32 pm

Thanks for your help

I downloaded the harbour.exe. Now I get these errors:

Error: Unresolved external '_hb_storvnl' referenced from C:\FWH\LIB\FIVEHC.LIB|WINEXEC
Error: Unresolved external '_hb_storvc' referenced from C:\FWH\LIB\FIVEHC.LIB|WINEXEC
Error: Unresolved external '_hb_parvnl' referenced from C:\FWH\LIB\FIVEHC.LIB|HARBOURC
Error: Unresolved external '_hb_storvni' referenced from C:\FWH\LIB\FIVEHC.LIB|WNDIS
Error: Unresolved external '_HB_FUN___CLSLOCKDEF' referenced from C:\FWH\LIB\FIVEH.LIB|WINDOW
Error: Unresolved external '_HB_FUN___DBGVMSTKLCOUNT' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN___DBGVMPARLLIST' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN___DBGVMVARLGET' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN___DBGVMVARSLEN' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_LOADLIBRARY' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_FREELIBRARY' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_HB_FUN___CLSUNLOCKDEF' referenced from C:\FWH\LIB\FIVEH.LIB|DDE
Error: Unresolved external '_hb_parvni' referenced from C:\FWH\LIB\FIVEHC.LIB|RECTS
Error: Unresolved external '_hb_parvclen' referenced from C:\FWH\LIB\FIVEHC.LIB|FONTS
Error: Unresolved external '_hb_parvc' referenced from C:\FWH\LIB\FIVEHC.LIB|FONTS
Error: Unresolved external '_hb_parvl' referenced from C:\FWH\LIB\FIVEHC.LIB|FONTS
Error: Unresolved external '_hb_storvl' referenced from C:\FWH\LIB\FIVEHC.LIB|FONTS
Error: Unresolved external 'AlphaBlend' referenced from C:\FWH\LIB\FIVEHC.LIB|BRUSHES
Error: Unresolved external '_hb_storvclen' referenced from C:\FWH\LIB\FIVEHC.LIB|REGEDIT

Please help

Regards

ACWoo

using fwh7.10+harbour+bcc55
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: error upgrade from fwh7.11 to fwh9.10

Postby Antonio Linares » Tue Nov 10, 2009 3:57 pm

Acwoo,

You are not using the right Harbour libraries.

Please remove al previous Harbour versions and check again that you are using the latest one, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error upgrade from fwh7.11 to fwh9.10

Postby acwoo1 » Wed Nov 11, 2009 1:44 pm

Thanks for your help

I tried the sample in c:\fwh\makes\alert.prg and it runs ok.
I also tried a few samples in c:\fwh\samples and they run ok.
I overwrite my lib from those that can be found in c:\harbour\lib (hbzlib.lib, hbsix.lib and gtgui.lib). Could the other lib
I am using giving me the problem.

My make file:


##############################################################################
# Template make file for FWH and Borland Make tool #
# Copyright FiveTech 2002 #
##############################################################################


# Make directives ############################################################

.autodepend
.swap
.suffixes: .prg .hrb


# Flags for modules to include: YES | NO (must be UPPERCASE)##################

RES_FILE = NO
LNK_DBFNTX = YES
LNK_DBFCDX = NO
LNK_DEBUG = NO
LNK_ADVANTAGE = NO
LNK_ODBC = NO
MAP_FILE = NO

# Application directories & filenames ########################################

APP_NAME = ecs # (Your EXE name without extension)
APP_PRG_DIR = .
APP_OBJ_DIR = . # (create the app\obj directory first)
APP_INCLUDE_DIR = .
APP_EXE_DIR = $(APP_PRG_DIR)
APP_RES_DIR = $(APP_PRG_DIR)

APP_EXE = $(APP_EXE_DIR)\$(APP_NAME).exe
APP_RC = $(APP_RES_DIR)\$(APP_NAME).rc
APP_RES = $(APP_RES_DIR)\$(APP_NAME).res
APP_MAP = $(APP_RES_DIR)\$(APP_NAME).map

# Paths for dependent files ##################################################

.path.prg = $(APP_PRG_DIR)
.path.hrb = $(APP_OBJ_DIR)
.path.obj = $(APP_OBJ_DIR)

# Application PRG files (your PRG files go here) #############################

APP_PRG_LIST = \
ecs.prg \
c1.prg \
c2.prg \
c3.prg \
c4.prg \
c5.prg \
c6.prg \
c7.prg \
c8.prg \
c9.prg \
c10.prg \
test2.prg \
test5.prg \
test6.prg \
vrd.prg \
vrdbcode.prg \
vrdini.prg \
vrditem.prg \
easyprev.prg \
msgmeter.prg \
wbrowse.prg \
tfilexls.prg \
xlsError.prg \
xlsfunc.prg

# Contruction of the rest dependency lists ###################################

APP_PRGS = $(APP_PRG_LIST)
APP_HRBS = $(APP_PRG_LIST:.prg=.obj)
APP_OBJS = $(APP_PRG_LIST:.prg=.obj)

# Fivewin directories ########################################################

FIVEWIN_INCLUDE_DIR = c:\fwh\include
FIVEWIN_LIB_DIR = c:\fwh\lib

# Fivewin libraries ##########################################################

FIVE_LIB = $(FIVEWIN_LIB_DIR)\fiveH.lib
FIVEC_LIB = $(FIVEWIN_LIB_DIR)\fiveHC.lib

# Harbour directories & flags ################################################

HARBOUR_INCLUDE_DIR = c:\harbour\include
HARBOUR_EXE_DIR = c:\harbour\bin
HARBOUR_LIB_DIR = c:\harbour\lib
HARBOUR_FLAGS = -i$(APP_INCLUDE_DIR);$(FIVEWIN_INCLUDE_DIR);$(HARBOUR_INCLUDE_DIR) -n -m -w -es2 -gc0 -w0
HARBOUR_EXE = $(HARBOUR_EXE_DIR)\harbour.exe

# Harbour libraries ##########################################################

RTL_LIB = $(HARBOUR_LIB_DIR)\rtl.lib
VM_LIB = $(HARBOUR_LIB_DIR)\vm.lib
LANG_LIB = $(HARBOUR_LIB_DIR)\lang.lib
MACRO_LIB = $(HARBOUR_LIB_DIR)\macro.lib
RDD_LIB = $(HARBOUR_LIB_DIR)\rdd.lib
DBFNTX_LIB = $(HARBOUR_LIB_DIR)\dbfntx.lib
DBFCDX_LIB = $(HARBOUR_LIB_DIR)\dbfcdx.lib
DEBUG_LIB = $(HARBOUR_LIB_DIR)\debug.lib
COMMON_LIB = $(HARBOUR_LIB_DIR)\common.lib
PP_LIB = $(HARBOUR_LIB_DIR)\pp.lib

# Advantage libraries ########################################################

RDDADS_LIB = $(HARBOUR_LIB_DIR)\rddads.lib
ACE32_LIB = $(FIVEWIN_LIB_DIR)\ace32.lib

# Borlanc directories & flags ################################################

BORLANDC_INCLUDE_DIR = c:\bcc55\include
BORLANDC_EXE_DIR = c:\bcc55\bin
BORLANDC_LIB_DIR = c:\bcc55\lib
BORLANDC_COMP_FLAGS = -c -O2 -I$(HARBOUR_INCLUDE_DIR);$(BORLANDC_INCLUDE_DIR)
BORLANDC_COMP_EXE = $(BORLANDC_EXE_DIR)\bcc32.exe
BORLANDC_LINK_FLAGS = -Gn -aa -Tpe -s -I$(APP_OBJ_DIR)
BORLANDC_LINK_EXE = $(BORLANDC_EXE_DIR)\ilink32.exe
BORLANDC_RES_EXE = $(BORLANDC_EXE_DIR)\brc32.exe

!if $(MAP_FILE) != YES
BORLANDC_LINK_FLAGS = $(BORLANDC_LINK_FLAGS) -x
!endif

# Borland libraries & files ##################################################

STARTUP_OBJ = $(BORLANDC_LIB_DIR)\c0w32.obj
CW32_LIB = $(BORLANDC_LIB_DIR)\cw32.lib
IMPORT32_LIB = $(BORLANDC_LIB_DIR)\import32.lib
ODBC32_LIB = $(BORLANDC_LIB_DIR)\psdk\odbc32.lib

# Dependencies ###############################################################

all: $(APP_OBJS) $(APP_HRBS) $(APP_EXE)

!if $(RES_FILE) == YES
all: $(APP_RES)
!endif

# Implicit Rules #############################################################

.prg.hrb:
$(HARBOUR_EXE) $(HARBOUR_FLAGS) $** -o$@

.hrb.obj:
$(BORLANDC_COMP_EXE) $(BORLANDC_COMP_FLAGS) -o$@ $**

# Explicit Rules #############################################################

!if $(RES_FILE) == YES
$(APP_RES) : $(APP_RC)
$(BORLANDC_RES_EXE) -r $**

$(APP_EXE) :: $(APP_RES)
@if exist $(APP_EXE) del $(APP_EXE) > nul
!endif

$(APP_EXE) :: $(APP_OBJS)
@echo $(STARTUP_OBJ) + > make.tmp
@echo $(**), + >> make.tmp
@echo $(APP_EXE), + >> make.tmp
@echo $(APP_MAP), + >> make.tmp
@echo $(FIVE_LIB) + >> make.tmp
@echo $(FIVEC_LIB) + >> make.tmp
@echo $(RTL_LIB) + >> make.tmp
@echo $(VM_LIB) + >> make.tmp
@echo $(LANG_LIB) + >> make.tmp
@echo $(MACRO_LIB) + >> make.tmp
@echo $(RDD_LIB) + >> make.tmp
!if $(LNK_DBFNTX) == YES
@echo $(DBFNTX_LIB) + >> make.tmp
!endif
!if $(LNK_DBFCDX) == YES
@echo $(DBFCDX_LIB) + >> make.tmp
!endif
!if $(LNK_DEBUG) == YES
@echo $(DEBUG_LIB) + >> make.tmp
!endif
@echo $(COMMON_LIB) + >> make.tmp
@echo $(PP_LIB) + >> make.tmp
!if $(LNK_ADVANTAGE) == YES
@echo $(RDDADS_LIB) + >> make.tmp
@echo $(ACE32_LIB) + >> make.tmp
!endif
!if $(LNK_ODBC) == YES
@echo $(ODBC32_LIB) + >> make.tmp
!endif
@echo EASYPREV.LIB + >> make.tmp
@echo FIVEHN.LIB + >> make.tmp
@echo ZLIB1.LIB + >> make.tmp
@echo ZIPARCHIVE.LIB + >> make.tmp
@echo HBZLIB.LIB + >> make.tmp
@echo MAIL.LIB + >> make.tmp
@echo VRD.LIB + >> make.tmp
@echo EASYPREVIEW.LIB + >> make.tmp
@echo LIBCT.LIB + >> make.tmp
@echo XLS42.LIB + >> make.tmp
@echo $(CW32_LIB) + >> make.tmp
@echo $(IMPORT32_LIB) + >> make.tmp
@echo DBFFPT.LIB + >> make.tmp
@echo HBSIX.LIB + >> make.tmp
@echo GTGUI.LIB + >> make.tmp
@echo UUID.LIB + >> make.tmp
@echo HBWIN32.LIB + >> make.tmp
@echo FILEXLS.LIB + >> make.tmp
!if $(RES_FILE) == YES
@echo ,$(APP_RES) >> make.tmp
!endif
$(BORLANDC_LINK_EXE) $(BORLANDC_LINK_FLAGS) @make.tmp
@del $(APP_EXE_DIR)\$(APP_NAME).tds
@del make.tmp


Please help.

Thanks

Regards

ACWoo
Using fwh9.10+harbour+bcc55
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: error upgrade from fwh7.11 to fwh9.10

Postby Antonio Linares » Wed Nov 11, 2009 9:19 pm

Acwoo,

If you are using Harbour (and not xHarbour) then this section is wrong in your make file:
Code: Select all  Expand view

RTL_LIB = $(HARBOUR_LIB_DIR)\rtl.lib
VM_LIB = $(HARBOUR_LIB_DIR)\vm.lib
LANG_LIB = $(HARBOUR_LIB_DIR)\lang.lib
MACRO_LIB = $(HARBOUR_LIB_DIR)\macro.lib
RDD_LIB = $(HARBOUR_LIB_DIR)\rdd.lib
DBFNTX_LIB = $(HARBOUR_LIB_DIR)\dbfntx.lib
DBFCDX_LIB = $(HARBOUR_LIB_DIR)\dbfcdx.lib
DEBUG_LIB = $(HARBOUR_LIB_DIR)\debug.lib
COMMON_LIB = $(HARBOUR_LIB_DIR)\common.lib
PP_LIB = $(HARBOUR_LIB_DIR)\pp.lib
 

as Harbour libraries are using different names now. In example, instead of rtl.lib, you have to use hbrtl.lib

Please review FWH\samples\buildh.bat to see the right Harbour libraries names that you have to use, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error upgrade from fwh7.11 to fwh9.10

Postby acwoo1 » Thu Nov 12, 2009 3:09 pm

Thanks for your help

In c:\fwh\samples\buildh.bat, where do I find hbrtl.lib ?

Thanks

Regards

AC Woo
Using fwh9.10+harbour+bcc55
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: error upgrade from fwh7.11 to fwh9.10

Postby Antonio Linares » Thu Nov 12, 2009 3:44 pm

Ac Woo,

inside buildh.bat:
Code: Select all  Expand view
echo %hdirl%\hbrtl.lib + >> b32.bc
echo %hdirl%\hbvm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\hblang.lib + >> b32.bc
echo %hdirl%\hbmacro.lib + >> b32.bc
echo %hdirl%\hbrdd.lib + >> b32.bc
echo %hdirl%\rddntx.lib + >> b32.bc
echo %hdirl%\rddcdx.lib + >> b32.bc
echo %hdirl%\rddfpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\hbdebug.lib + >> b32.bc
echo %hdirl%\hbcommon.lib + >> b32.bc
echo %hdirl%\hbpp.lib + >> b32.bc
echo %hdirl%\hbcpage.lib + >> b32.bc
echo %hdirl%\hbwin.lib + >> b32.bc
echo %hdirl%\hbcplr.lib + >> b32.bc
 

Those are the Harbour libraries names to use :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error upgrade from fwh7.11 to fwh9.10

Postby acwoo1 » Fri Nov 13, 2009 10:39 am

Thanks for your help

How do I change part of my make file from:

RTL_LIB = $(HARBOUR_LIB_DIR)\rtl.lib
VM_LIB = $(HARBOUR_LIB_DIR)\vm.lib
LANG_LIB = $(HARBOUR_LIB_DIR)\lang.lib
MACRO_LIB = $(HARBOUR_LIB_DIR)\macro.lib
RDD_LIB = $(HARBOUR_LIB_DIR)\rdd.lib
DBFNTX_LIB = $(HARBOUR_LIB_DIR)\dbfntx.lib
DBFCDX_LIB = $(HARBOUR_LIB_DIR)\dbfcdx.lib
DEBUG_LIB = $(HARBOUR_LIB_DIR)\debug.lib
COMMON_LIB = $(HARBOUR_LIB_DIR)\common.lib
PP_LIB = $(HARBOUR_LIB_DIR)\pp.lib

to something that accept :

echo %hdirl%\hbrtl.lib + >> b32.bc
echo %hdirl%\hbvm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\hblang.lib + >> b32.bc
echo %hdirl%\hbmacro.lib + >> b32.bc
echo %hdirl%\hbrdd.lib + >> b32.bc
echo %hdirl%\rddntx.lib + >> b32.bc
echo %hdirl%\rddcdx.lib + >> b32.bc
echo %hdirl%\rddfpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\hbdebug.lib + >> b32.bc
echo %hdirl%\hbcommon.lib + >> b32.bc
echo %hdirl%\hbpp.lib + >> b32.bc
echo %hdirl%\hbcpage.lib + >> b32.bc
echo %hdirl%\hbwin.lib + >> b32.bc
echo %hdirl%\hbcplr.lib + >> b32.bc

I tried changing from
RTL_LIB = $(HARBOUR_LIB_DIR)\rtl.lib
to
HBRTL_LIB = $(HARBOUR_LIB_DIR)\hbrtl.lib
but it does not work

Please help

Thanks

Regards

AC Woo
Using fwh9.10+harbour+bcc55
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: error upgrade from fwh7.11 to fwh9.10

Postby Antonio Linares » Fri Nov 13, 2009 12:37 pm

Ac Woo,

You only have to change the right side:

RTL_LIB = $(HARBOUR_LIB_DIR)\hbrtl.lib

similar changes for the other libs
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error upgrade from fwh7.11 to fwh9.10

Postby acwoo1 » Sat Nov 14, 2009 12:23 am

Thanks for your help

How to change this line:

echo %hdirl%\%GT%.lib + >> b32.bc

I tried
GT_LIB = $(HARBOUR_LIB_DIR)\%ht%.lib
GT_LIB = $(HARBOUR_LIB_DIR)\*.gt.*l.lib
but it does not accept

Thanks
Please help

Regards

ACWoo
using fwh9.10+harbour+bcc55
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: error upgrade from fwh7.11 to fwh9.10

Postby Antonio Linares » Sat Nov 14, 2009 12:47 am

Ac Woo,

GT_LIB = $(HARBOUR_LIB_DIR)\gtgui.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error upgrade from fwh7.11 to fwh9.10

Postby acwoo1 » Sat Nov 14, 2009 2:12 am

Thanks for your help

Now, there is no error message. An exe is created, but program does not launch.

My make file:

##############################################################################
# Template make file for FWH and Borland Make tool #
# Copyright FiveTech 2002 #
##############################################################################


# Make directives ############################################################

.autodepend
.swap
.suffixes: .prg .hrb
# .suffixes: .prg .obj

# Flags for modules to include: YES | NO (must be UPPERCASE)##################

RES_FILE = NO
LNK_DBFNTX = YES
LNK_DBFCDX = NO
LNK_DEBUG = NO
LNK_ADVANTAGE = NO
LNK_ODBC = NO
MAP_FILE = NO

# Application directories & filenames ########################################

APP_NAME = ecs # (Your EXE name without extension)
APP_PRG_DIR = .
# APP_OBJ_DIR = obj # (create the app\obj directory first)
APP_OBJ_DIR = . # (create the app\obj directory first)
APP_INCLUDE_DIR = .
APP_EXE_DIR = $(APP_PRG_DIR)
APP_RES_DIR = $(APP_PRG_DIR)

APP_EXE = $(APP_EXE_DIR)\$(APP_NAME).exe
APP_RC = $(APP_RES_DIR)\$(APP_NAME).rc
APP_RES = $(APP_RES_DIR)\$(APP_NAME).res
APP_MAP = $(APP_RES_DIR)\$(APP_NAME).map

# Paths for dependent files ##################################################

.path.prg = $(APP_PRG_DIR)
.path.hrb = $(APP_OBJ_DIR)
.path.obj = $(APP_OBJ_DIR)

# Application PRG files (your PRG files go here) #############################

APP_PRG_LIST = \
ecs.prg \
c1.prg \
c2.prg \
c3.prg \
c4.prg \
c5.prg \
c6.prg \
c7.prg \
c8.prg \
c9.prg \
c10.prg \
test2.prg \
test5.prg \
test6.prg \
vrd.prg \
vrdbcode.prg \
vrdini.prg \
vrditem.prg \
easyprev.prg \
msgmeter.prg \
wbrowse.prg \
tfilexls.prg \
xlsError.prg \
xlsfunc.prg

# Contruction of the rest dependency lists ###################################

APP_PRGS = $(APP_PRG_LIST)
APP_HRBS = $(APP_PRG_LIST:.prg=.obj)
APP_OBJS = $(APP_PRG_LIST:.prg=.obj)

# Fivewin directories ########################################################

FIVEWIN_INCLUDE_DIR = c:\fwh\include
FIVEWIN_LIB_DIR = c:\fwh\lib

# Fivewin libraries ##########################################################

FIVE_LIB = $(FIVEWIN_LIB_DIR)\fiveH.lib
FIVEC_LIB = $(FIVEWIN_LIB_DIR)\fiveHC.lib

# Harbour directories & flags ################################################

HARBOUR_INCLUDE_DIR = c:\harbour\include
HARBOUR_EXE_DIR = c:\harbour\bin
HARBOUR_LIB_DIR = c:\harbour\lib
HARBOUR_FLAGS = -i$(APP_INCLUDE_DIR);$(FIVEWIN_INCLUDE_DIR);$(HARBOUR_INCLUDE_DIR) -n -m -w -es2 -gc0 -w0
HARBOUR_EXE = $(HARBOUR_EXE_DIR)\harbour.exe

#hdirl = HARBOUR_LIB_DIR

# Harbour libraries ##########################################################


RTL_LIB = $(HARBOUR_LIB_DIR)\hbrtl.lib
VM_LIB = $(HARBOUR_LIB_DIR)\hbvm.lib
LANG_LIB = $(HARBOUR_LIB_DIR)\hblang.lib
MACRO_LIB = $(HARBOUR_LIB_DIR)\hbmacro.lib
RDD_LIB = $(HARBOUR_LIB_DIR)\hbrdd.lib
DBFNTX_LIB = $(HARBOUR_LIB_DIR)\dbfntx.lib
DBFCDX_LIB = $(HARBOUR_LIB_DIR)\dbfcdx.lib
DEBUG_LIB = $(HARBOUR_LIB_DIR)\hbdebug.lib
COMMON_LIB = $(HARBOUR_LIB_DIR)\hbcommon.lib
PP_LIB = $(HARBOUR_LIB_DIR)\hbpp.lib

RDDNTX_LIB = $(HARBOUR_LIB_DIR)\rddntx.lib
RDDCDX_LIB = $(HARBOUR_LIB_DIR)\rddcdx.lib
RDDFPT_LIB = $(HARBOUR_LIB_DIR)\rddfpt.lib
SIX_LIB = $(HARBOUR_LIB_DIR)\hbsix.lib
CPAGE_LIB = $(HARBOUR_LIB_DIR)\hbcpage.lib
WIN_LIB = $(HARBOUR_LIB_DIR)\hbwin.lib
CPLR_LIB = $(HARBOUR_LIB_DIR)\hbcplr.lib
GTGUI_LIB = $(HARBOUR_LIB_DIR)\gtgui.lib

# Advantage libraries ########################################################

RDDADS_LIB = $(HARBOUR_LIB_DIR)\rddads.lib
ACE32_LIB = $(FIVEWIN_LIB_DIR)\ace32.lib

# Borlanc directories & flags ################################################

BORLANDC_INCLUDE_DIR = c:\bcc55\include
BORLANDC_EXE_DIR = c:\bcc55\bin
BORLANDC_LIB_DIR = c:\bcc55\lib
BORLANDC_COMP_FLAGS = -c -O2 -I$(HARBOUR_INCLUDE_DIR);$(BORLANDC_INCLUDE_DIR)
BORLANDC_COMP_EXE = $(BORLANDC_EXE_DIR)\bcc32.exe
BORLANDC_LINK_FLAGS = -Gn -aa -Tpe -s -I$(APP_OBJ_DIR)
BORLANDC_LINK_EXE = $(BORLANDC_EXE_DIR)\ilink32.exe
BORLANDC_RES_EXE = $(BORLANDC_EXE_DIR)\brc32.exe

!if $(MAP_FILE) != YES
BORLANDC_LINK_FLAGS = $(BORLANDC_LINK_FLAGS) -x
!endif

# Borland libraries & files ##################################################

STARTUP_OBJ = $(BORLANDC_LIB_DIR)\c0w32.obj
CW32_LIB = $(BORLANDC_LIB_DIR)\cw32.lib
IMPORT32_LIB = $(BORLANDC_LIB_DIR)\import32.lib
ODBC32_LIB = $(BORLANDC_LIB_DIR)\psdk\odbc32.lib

MSIMG32_LIB = $(BORLANDC_LIB_DIR)\psdk\msimg32.lib

# Dependencies ###############################################################

all: $(APP_OBJS) $(APP_HRBS) $(APP_EXE)

!if $(RES_FILE) == YES
all: $(APP_RES)
!endif

# Implicit Rules #############################################################

.prg.hrb:
$(HARBOUR_EXE) $(HARBOUR_FLAGS) $** -o$@

.hrb.obj:
$(BORLANDC_COMP_EXE) $(BORLANDC_COMP_FLAGS) -o$@ $**

# Explicit Rules #############################################################

!if $(RES_FILE) == YES
$(APP_RES) : $(APP_RC)
$(BORLANDC_RES_EXE) -r $**

$(APP_EXE) :: $(APP_RES)
@if exist $(APP_EXE) del $(APP_EXE) > nul
!endif

$(APP_EXE) :: $(APP_OBJS)
@echo $(STARTUP_OBJ) + > make.tmp
@echo $(**), + >> make.tmp
@echo $(APP_EXE), + >> make.tmp
@echo $(APP_MAP), + >> make.tmp
@echo $(FIVE_LIB) + >> make.tmp
@echo $(FIVEC_LIB) + >> make.tmp
@echo $(RTL_LIB) + >> make.tmp
@echo $(VM_LIB) + >> make.tmp
@echo $(LANG_LIB) + >> make.tmp
@echo $(MACRO_LIB) + >> make.tmp
@echo $(RDD_LIB) + >> make.tmp

@echo $(RDDNTX_LIB) + >> make.tmp
@echo $(RDDCDX_LIB) + >> make.tmp
@echo $(RDDFPT_LIB) + >> make.tmp
@echo $(SIX_LIB) + >> make.tmp
@echo $(CPAGE_LIB) + >> make.tmp
@echo $(WIN_LIB) + >> make.tmp
@echo $(CPLR_LIB) + >> make.tmp
@echo $(GTGUI_LIB) + >> make.tmp

@echo $(MSIMG32_LIB) + >> make.tmp

!if $(LNK_DBFNTX) == YES
@echo $(DBFNTX_LIB) + >> make.tmp
!endif
!if $(LNK_DBFCDX) == YES
@echo $(DBFCDX_LIB) + >> make.tmp
!endif
!if $(LNK_DEBUG) == YES
@echo $(DEBUG_LIB) + >> make.tmp
!endif
@echo $(COMMON_LIB) + >> make.tmp
@echo $(PP_LIB) + >> make.tmp
!if $(LNK_ADVANTAGE) == YES
@echo $(RDDADS_LIB) + >> make.tmp
@echo $(ACE32_LIB) + >> make.tmp
!endif
!if $(LNK_ODBC) == YES
@echo $(ODBC32_LIB) + >> make.tmp
!endif
@echo EASYPREV.LIB + >> make.tmp
@echo ZLIB1.LIB + >> make.tmp
@echo ZIPARCHIVE.LIB + >> make.tmp
@echo MAIL.LIB + >> make.tmp
@echo VRD.LIB + >> make.tmp
@echo EASYPREVIEW.LIB + >> make.tmp
@echo XLS42.LIB + >> make.tmp
@echo $(CW32_LIB) + >> make.tmp
@echo $(IMPORT32_LIB) + >> make.tmp
@echo FILEXLS.LIB + >> make.tmp
!if $(RES_FILE) == YES
@echo ,$(APP_RES) >> make.tmp
!endif
$(BORLANDC_LINK_EXE) $(BORLANDC_LINK_FLAGS) @make.tmp
@del $(APP_EXE_DIR)\$(APP_NAME).tds
@del make.tmp


Please help
Thanks

Regards

AC Woo
using fwh9.10+harbour+bcc55
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: error upgrade from fwh7.11 to fwh9.10

Postby Antonio Linares » Sat Nov 14, 2009 3:33 am

Ac Woo,

Is your function Main() in ecs.prg ?

Please send me a ZIP file (rename it as *.zop) with your PRG files and LIB files, if posible, and we will build it here, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: error upgrade from fwh7.11 to fwh9.10

Postby acwoo1 » Tue Nov 17, 2009 10:17 am

Thanks for your help

Files sent.

Please help

Thanks

Regards

AC Woo
using fwh9.10+harbour+bcc55
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 51 guests