Upgrade to 7.11

Upgrade to FWH 711

Postby acwoo » Fri Nov 30, 2007 10:16 am

Thanks your for reply


No own FWH class modified


Thanks
acwoo
acwoo
 
Posts: 45
Joined: Fri Sep 28, 2007 8:53 am
Location: Makaysia

Postby Antonio Linares » Fri Nov 30, 2007 3:47 pm

Acwoo,

Do you think that you could provide a small sample to reproduce the error ? thanks!
regards, saludos

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

Upgrade to FWH 711

Postby acwoo » Sat Dec 01, 2007 7:01 am

Thanks for your reply

The prg: (From c:\fwh\samples\msgdate.prg)

The make file (bmake):

##############################################################################
# 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 = setup # (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 = \
setup.prg \
vrd.prg \
vrdbcode.prg \
vrdini.prg \
vrditem.prg \
window.prg \
easyprev.prg

# rc.prg
# Contruction of the rest dependency lists ###################################

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

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

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

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

# EASYPREV_LIB = $(FIVEWIN_LIB_DIR)\easyprev.lib
# VRD_LIB = $(FIVEWIN_LIB_DIR)\vrd.lib
# EASYPREVIEW_LIB = $(FIVEWIN_LIB_DIR)\easypreview.lib
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
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
GTWIN_LIB = $(HARBOUR_LIB_DIR)\gtwin.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 EASYPREV.LIB + >> make.tmp
@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 $(GTWIN_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 $(CW32_LIB) + >> make.tmp
@echo $(IMPORT32_LIB) + >> make.tmp
@echo DBFFPT.LIB + >> make.tmp
@echo HBSIX.LIB + >> make.tmp
@echo GTGUI.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


The error message:

Application
===========
Path and name: C:\ecmeterh\setup.exe (32 bits)
Size: 1,500,160 bytes
Time from start: 0 hours 0 mins 5 secs
Error occurred at: 01/12/2007, 14:34:28
Error description: Error BASE/1004 Message not found: TDIALOG:BERASEBKGND
Args:
[ 1] = O Object

Stack Calls
===========
Called from: => __ERRRT_SBASE(0)
Called from: => TDIALOG:ERROR(172)
Called from: source\rtl\tobject.prg => (b)HBOBJECT(103)
Called from: => TDIALOG:MSGNOTFOUND(0)
Called from: => TDIALOG:BERASEBKGND(162)
Called from: => TDIALOG:ERASEBKGND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOXINDIRECT(0)
Called from: => TDIALOG:ACTIVATE(0)
Called from: .\setup.prg => MSGDATE(101)
Called from: .\setup.prg => (b)MAKEMENU(26)
Called from: => TMENU:COMMAND(0)
Called from: => TWINDOW:COMMAND(915)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\window.prg => _FWH(3001)
Called from: => WINRUN(0)
Called from: => TWINDOW:ACTIVATE(864)
Called from: .\setup.prg => MAIN(16)

Thanks
acwoo
acwoo
 
Posts: 45
Joined: Fri Sep 28, 2007 8:53 am
Location: Makaysia

Postby Antonio Linares » Sat Dec 01, 2007 10:51 am

Acwoo,

Please review fwh\makes\bormake.zip

It is much simpler and easier to use :-)
regards, saludos

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

Upgrade to FWH 711

Postby acwoo » Sun Dec 02, 2007 1:52 pm

Thanks for your reply

Tried the sample. It runs OK.
I tried some midification to the test.rmk supplied:

#Borland make sample, (c) FiveTech Software 2005

HBDIR=c:\harbour
BCDIR=c:\bcc55
#FWDIR=c:\fwh26
FWDIR=c:\fwh

#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 = \
#setup.PRG \
#one.PRG


PRG = \
test1.PRG \
test2.PRG \
....... (40 prgs)
easyprev.PRG


C = \
two.C

PROJECT : test1.exe

#test1.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) test1.res
test1.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ)
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
# echo obj\ec.obj obj\one.obj obj\two.obj, + >> b32.bc
echo obj\test1.obj obj\test2 ... obj\easyprev.obj obj\two.obj + >>b32.bc
echo ec.exe + >> b32.bc
echo ec.map + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
# echo $(HBDIR)\lib\b32\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\Ace32.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\rasapi32.lib + >> b32.bc

IF EXIST test1.res echo test1.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc

.PRG.OBJ:
# $(HBDIR)\bin\b32\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(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

#test1.res : test1.rc
# $(BCDIR)\bin\brc32.exe -r test1.rc

Error Message: Unable to open fiel '.OBJ'

Please help
acwoo
acwoo
 
Posts: 45
Joined: Fri Sep 28, 2007 8:53 am
Location: Makaysia

Postby Antonio Linares » Sun Dec 02, 2007 10:53 pm

You may need to split this line:

echo obj\test1.obj obj\test2 ... obj\easyprev.obj obj\two.obj + >>b32.bc

into several ones, if you are managing 40 PRGs

Please review the resulting b32.bc and post here its containts

> Error Message: Unable to open fiel '.OBJ'

Please copy the complete error here. Which tool reports it ? bcc32.exe ? ilink32.exe ? brc32.exe ?
regards, saludos

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

Upgrade to FWH 711

Postby acwoo » Tue Dec 04, 2007 6:33 am

Thanks for your reply


The make file:

#Borland make sample, (c) FiveTech Software 2005

HBDIR=c:\harbour
BCDIR=c:\bcc55
#FWDIR=c:\fwh26
FWDIR=c:\fwh

#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 = \
#setup.PRG \
#one.PRG

PRG = \
setup.PRG \
vrd.PRG \
vrdbcode.PRG \
vrdini.PRG \
vrditem.PRG \
window.PRG \
easyprev.PRG \
one.PRG

C = \
two.C

PROJECT : setup.exe

#setup.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) setup.res
setup.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ)
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
# echo obj\setup.obj obj\one.obj obj\two.obj, + >> b32.bc
echo obj\setup.obj obj\vrd.obj obj\vrdbcode.obj obj\vrdini.obj obj\vrditem.obj obj\window.obj obj\easyprev.obj obj\one.obj obj\two.obj + >> b32.bc
echo setup.exe + >> b32.bc
echo setup.map + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
# echo $(HBDIR)\lib\b32\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\Ace32.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\rasapi32.lib >> b32.bc

IF EXIST setup.res echo setup.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc

.PRG.OBJ:
# $(HBDIR)\bin\b32\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(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

#setup.res : setup.rc
# $(BCDIR)\bin\brc32.exe -r setup.rc


b32.bc :

c:\bcc55\bin\c0w32.obj +
obj\setup.obj obj\vrd.obj obj\vrdbcode.obj obj\vrdini.obj obj\vrditem.obj obj\window.obj obj\easyprev.obj obj\one.obj obj\two.obj +
setup.exe +
setup.map +
c:\fwh\lib\FiveH.lib c:\fwh\lib\FiveHC.lib +
c:\harbour\lib\rtl.lib +
c:\harbour\lib\vm.lib +
c:\harbour\lib\gtgui.lib +
c:\harbour\lib\lang.lib +
c:\harbour\lib\macro.lib +
c:\harbour\lib\rdd.lib +
c:\harbour\lib\dbfntx.lib +
c:\harbour\lib\dbfcdx.lib +
c:\harbour\lib\dbffpt.lib +
c:\harbour\lib\hbsix.lib +
c:\harbour\lib\debug.lib +
c:\harbour\lib\common.lib +
c:\harbour\lib\pp.lib +
c:\harbour\lib\codepage.lib +
c:\bcc55\lib\cw32.lib +
c:\bcc55\lib\import32.lib +
c:\bcc55\lib\psdk\odbc32.lib +
c:\bcc55\lib\psdk\nddeapi.lib +
c:\bcc55\lib\psdk\iphlpapi.lib +
c:\bcc55\lib\psdk\rasapi32.lib

The Error Message:

Unable to open 'SETUP.EXE' (setup.prg is actually c:\fwh\samples\msgdate.prg)


Please help


Thanks
acwoo
acwoo
 
Posts: 45
Joined: Fri Sep 28, 2007 8:53 am
Location: Makaysia

Postby Antonio Linares » Tue Dec 04, 2007 7:59 am

Acwoo,

There are three commas missing in your b32.bc:

obj\setup.obj obj\vrd.obj obj\vrdbcode.obj obj\vrdini.obj obj\vrditem.obj obj\window.obj obj\easyprev.obj obj\one.obj obj\two.obj , +
setup.exe , +
setup.map , +
regards, saludos

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

Upgrade to FWH 711

Postby acwoo » Tue Dec 04, 2007 11:43 am

Thanks for your reply

The changed make file:
#Borland make sample, (c) FiveTech Software 2005

HBDIR=c:\harbour
BCDIR=c:\bcc55
#FWDIR=c:\fwh26
FWDIR=c:\fwh

#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 = \
#setup.PRG \
#one.PRG

PRG = \
setup.PRG \
vrd.PRG \
vrdbcode.PRG \
vrdini.PRG \
vrditem.PRG \
window.PRG \
easyprev.PRG \
one.PRG

C = \
two.C

PROJECT : setup.exe

#setup.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) setup.res
setup.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ)
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
# echo obj\setup.obj obj\one.obj obj\two.obj, + >> b32.bc
echo obj\setup.obj obj\vrd.obj obj\vrdbcode.obj obj\vrdini.obj obj\vrditem.obj obj\window.obj obj\easyprev.obj obj\one.obj obj\two.obj, + >> b32.bc
echo setup.exe, + >> b32.bc
echo setup.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
# echo $(HBDIR)\lib\b32\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc
@echo EASYPREV.LIB + >> b32.bc
@echo FIVEHN.LIB + >> b32.bc
@echo ZLIB1.LIB + >> b32.bc
@echo ZIPARCHIVE.LIB + >> b32.bc
@echo HBZLIB.LIB + >> b32.bc
@echo MAIL.LIB + >> b32.bc
@echo VRD.LIB + >> b32.bc
@echo EASYPREVIEW.LIB + >> b32.bc
@echo LIBCT.LIB + >> b32.bc
@echo $(CW32_LIB) + >> b32.bc
@echo $(IMPORT32_LIB) + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\Ace32.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\rasapi32.lib >> b32.bc

IF EXIST setup.res echo setup.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc

.PRG.OBJ:
# $(HBDIR)\bin\b32\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(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

#setup.res : setup.rc
# $(BCDIR)\bin\brc32.exe -r setup.rc

The error.log:
Application
===========
Path and name: C:\fwhtmp7\setup.exe (32 bits)
Size: 1,491,968 bytes
Time from start: 0 hours 0 mins 3 secs
Error occurred at: 04/12/2007, 19:33:31
Error description: Error BASE/1004 Message not found: TDIALOG:BERASEBKGND
Args:
[ 1] = O Object

Stack Calls
===========
Called from: => __ERRRT_SBASE(0)
Called from: => TDIALOG:ERROR(172)
Called from: source\rtl\tobject.prg => (b)HBOBJECT(103)
Called from: => TDIALOG:MSGNOTFOUND(0)
Called from: => TDIALOG:BERASEBKGND(162)
Called from: => TDIALOG:ERASEBKGND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOXINDIRECT(0)
Called from: => TDIALOG:ACTIVATE(0)
Called from: .\setup.PRG => MSGDATE(0)
Called from: .\setup.PRG => (b)MAKEMENU(0)
Called from: => TMENU:COMMAND(0)
Called from: => TWINDOW:COMMAND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\window.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: => TWINDOW:ACTIVATE(0)
Called from: .\setup.PRG => MAIN(0)

System
======
CPU type: AMD Sempron(tm) 2200+ 1500 Mhz
Hardware memory: 192 megs

Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %

Compiler version: Harbour devel build 1.1-1 Intl.
Windows version: 5.1, Build 2600 Service Pack 2

Windows total applications running: 23
1 M
2 Default IME
3 Start Menu
4 CiceroUIWndFrame
5 SysFader
6 AVG E-mail Scanner
7 Select a date
8 TEST
9 Command Prompt
10 www.FiveTechSoft.com :: View topic - Upgrade to 7.11 - Microsoft Internet Explorer
11 MCI command handling window
12 Acrobat IEHelper
13 DDE Server Window
14 lxbk POR Monitor
15 LEXLMPM
16 {A7E495BF-9589-4a6e-8479-DDA2D8D3C05F}
17 AVGEMC
18 Connections Tray
19 Power Meter
20 MS_WebcheckMonitor
21
22 LexPPS BCE Comm Window
23 Program Manager

Variables in use
================
Procedure Type Value
==========================
__ERRRT_SBASE
Param 1: N 13
Param 2: N 1004
Param 3: C "Message not found"
Param 4: C "TDIALOG:BERASEBKGND"
Param 5: N 1
Param 6: O Class: TDIALOG
Local 1: U
TDIALOG:ERROR
Param 1: C "Message not found"
Param 2: C "TDIALOG"
Param 3: C "BERASEBKGND"
Param 4: N 1004
(b)HBOBJECT
Param 1: O Class: TDIALOG
Param 2: C "BERASEBKGND"
TDIALOG:MSGNOTFOUND
Param 1: C "BERASEBKGND"
TDIALOG:BERASEBKGND
TDIALOG:ERASEBKGND
Param 1: N 16842837
Local 1: O Class: TDIALOG
Local 2: S
Local 3: U
TWINDOW:HANDLEEVENT
Param 1: N 20
Param 2: N 16842837
Param 3: N 0
TDIALOG:HANDLEEVENT
Param 1: N 20
Param 2: N 16842837
Param 3: N 0
Local 1: O Class: TDIALOG
DIALOGBOXINDIRECT
Param 1: N 4194304
Param 2: C "€

Please help

Thanks
acwoo
acwoo
 
Posts: 45
Joined: Fri Sep 28, 2007 8:53 am
Location: Makaysia

Postby Antonio Linares » Tue Dec 04, 2007 12:26 pm

Acwoo,

Please check that you have the DATA bEraseBkGnd declared in Class TWindow

Are you using a modified Class TDialog or Class TWindow ?
regards, saludos

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

Upgrade to FWH 711

Postby acwoo » Tue Dec 04, 2007 2:01 pm

Thanks for the reply

I did not modify anything in FWH.
By the way, where do I find the Class TDialog or Class TWindow.
I also notice that with the new FWH, there is a also sub-directory of fwh, i.e. c:\fwh\fwh. There is no fwh in the old fwh.

Thanks
acwoo
acwoo
 
Posts: 45
Joined: Fri Sep 28, 2007 8:53 am
Location: Makaysia

Postby Antonio Linares » Tue Dec 04, 2007 3:10 pm

Acwoo,

Why don't you download and install FWH 7.12 ? :-)

We don't have any c:\fwh\fwh folder here
regards, saludos

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

Postby James Bott » Tue Dec 04, 2007 4:09 pm

Acwoo,

>By the way, where do I find the Class TDialog or Class TWindow.

They are in FWH\source\classes

Have you ever compiled anything successfully with FWH? It sounds like you have a path problem--like the linker is linking in some modified code that may exist elsewhere.

Can you compile one of the FW sample programs containing a dialog using the FWH\samples\buildh.bat or buildx.bat (depending on whether you are using Harbour or cHarbour)?

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Upgrade to FWH 711

Postby acwoo » Wed Dec 05, 2007 1:47 am

Thanks for your help

After I put in window.prg and dialog.prg, there is no error meaasge on compilation.

I have this error mesage when I want to print:
Application
===========
Path and name: C:\test\EPREVIEW.exe (32 bits)
Size: 1,858,048 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 12/05/07, 09:25:02
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... }
[ 2] = N 1

Stack Calls
===========
Called from: epclass.prg => EPREVIEW:NEW(253)
Called from: epclass.prg => EASYPREVIEW(68)
Called from: epreview.prg => MAIN(68)

Please help
acwoo
acwoo
 
Posts: 45
Joined: Fri Sep 28, 2007 8:53 am
Location: Makaysia

Postby James Bott » Wed Dec 05, 2007 2:36 am

>After I put in window.prg and dialog.prg, there is no error meaasge on compilation.

These classes are already in the FWH library files, so if you having to link them in, then there is something wrong with your lib files.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 47 guests