Page 1 of 3

Upgrade to 7.11

Posted: Tue Nov 27, 2007 12:37 pm
by acwoo
After upgraded to 7.11 FWH, I get the followong message

Code: copy file "pal.dbf" to &fil + ".dbf'"

Error Message: Syntax errot : "Syntax error at 'FILE'"

Please help

Posted: Tue Nov 27, 2007 2:58 pm
by Gale FORd
I do not know what is in fil but you probably need extended syntax like

copy file ("pal.dbf") to ( fil + ".dbf'" )

ziparchive.lib

Posted: Wed Nov 28, 2007 12:16 am
by acwoo
Thanks for the prompt reply

It works.
Now I have another problem:

ziparchive.lib too many DEF file

How do I solve the problem

Thanks

Posted: Wed Nov 28, 2007 8:18 am
by Antonio Linares
> too many DEF file

You are using an extra "," or a missing one.

Please check your make file or batch file.

unresolved external

Posted: Wed Nov 28, 2007 12:48 pm
by acwoo
Thanks for the reply

Problem solved.
New problem:
Error: Unresolved external '_HB_FUN_HB_GT_GUI' referenced from C:\FWH\LIB\FIVEH.LIB|ERRSYSW
Error: Unresolved external '_hb_sxDeCrypt' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1
Error: Unresolved external '_hb_sxPtoD' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1
Error: Unresolved external '_hb_sxEnCrypt' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1
Error: Unresolved external '_hb_sxDtoP' referenced from C:\HARBOUR\LIB\RDD.LIB|dbf1
Error: Unresolved external '_HB_FUN_DBFFPT' referenced from C:\HARBOUR\LIB\RDD.LIB|rddsys

Please help

Thanks

Posted: Wed Nov 28, 2007 2:22 pm
by Antonio Linares
You need to link GTGUI.lib, HBSIX.lib and DBFFPT.lib too

bwcc32.dll

Posted: Thu Nov 29, 2007 2:11 am
by acwoo
Thanks for your help

After linking the libraries, the program start with this message:

error code: 0 loading BWCC32.DLL

followed by

Error BASE/1004 message not found:
TBUTTON:BERASEEKGND form Errorsys, line 0


Please help

Thanks

Posted: Thu Nov 29, 2007 4:46 am
by hua
Woo,
You're upgrading from what version?

Upgrade to FWH 711

Posted: Thu Nov 29, 2007 6:54 am
by acwoo
Thanks your your help

The upgrade is from:

FWH 2.4

(using bcc55)


Thanks

Re: Upgrade to FWH 711

Posted: Thu Nov 29, 2007 7:49 am
by hua
acwoo wrote: The upgrade is from:

FWH 2.4

(using bcc55)
Ah, no wonder. That's quite a long jump. Ok, after going through the source of my "upgrade" ( from FWH2.4 -> 2.5 -> 2.6 -> 2.8 ) utility, these are some points to check:

1. RC file
- insert the following line if want to use XP theme

Code: Select all

1 24 "f:\fwh28\samples\winxp\windowsXP.manifest"
2. Link file
- if you used to link in dbfntx.lib, replace it with dbffpt.lib plus hbsix.lib
- there's no longer a need to linked-in emf32.lib, bcc640.lib and optgui.lib (if you were using any of them before)
- replace gtwin.lib with gtgui.lib
- if you linked nanforum lib make sure you got the lib name correct. At one point it was named nf.lib, then to libnf.lib

3. Prg's
- if you have REQUEST _ADS statement, change it to REQUEST ADS
- load BWCC32.DLL in the exact sequence as in the sample below:

Code: Select all

     hLibrary := LoadLibrary("bwcc32.dll")
     SET RESOURCES TO "MyDll.DLL"
     bwccRegister( getResources() )

Please note, I'm still using FWH2.8 so any other necessary changes affecting 7.11 are yet to be discovered by me .

HTH

Posted: Thu Nov 29, 2007 10:09 am
by Antonio Linares
Acwoo,

There is an error (typo) in your code:

TBUTTON:BERASEEKGND

should be:

TBUTTON:BERASEBKGND

or was it a typo when you typed it here ?

Upgrade to FWH 711

Posted: Thu Nov 29, 2007 2:54 pm
by acwoo
Thanks for the reply

The error message now is:

Error Base/1004 Message not found: TDIALOG:BERASEBKGND

Please help

Posted: Thu Nov 29, 2007 3:57 pm
by Antonio Linares
Acwoo,

Please post the complete error calls stack.

Are you using the Harbour/xharbour builds that we distribute with FWH 7.11 ?

Are you using any modified FWH Classes ?

Upgrade to FWH 711

Posted: Fri Nov 30, 2007 5:46 am
by acwoo
Thanks for thr reply

The error message:

Application
===========
Path and name: C:\abc\abc.exe (32 bits)
Size: ********* bytes
Time from start: 0 hours 0 mins 2 secs
Error occurred at: 30/11/2007, 13:36:14
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: .\abc.prg => LGETPASSWORD(2509)
Called from: .\abc.prg => TESTPASS(2298)
Called from: .\abc.prg => START3A(1186)
Called from: .\abc.prg => START3(1099)
Called from: .\abc.prg => STARTUP(2287)
Called from: .\abc.prg => MAIN(38)

System
======
CPU type: AMD Sempron(tm) 2200+ 1500 Mhz
Hardware memory: 448 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: 37
1
2 Start Menu
3 M
4 Default IME
5 CiceroUIWndFrame
6 SysFader
7 fffr
8 AVG E-mail Scanner
9 TF_FloatingLangBar_WndTitle
10 CL RC Engine3 Dummy Winidow
11 Password
12 Command Prompt - bmake ec
13 Acrobat IEHelper
14 www.FiveTechSoft.com :: View topic - Upgrade to 7.11 - Microsoft Internet Explorer
15 MCI command handling window
16 DDE Server Window
17 lxbk POR Monitor
18 LEXLMPM
19 Vinyl Deck
20 Adeck
21 {A7E495BF-9589-4a6e-8479-DDA2D8D3C05F}
22 AVG Free Edition - Control Center
23 AVGEMC
24 Connections Tray
25 Power Meter
26 ADSL USB MODEM
27 VIA RAID Tool
28 ÐéÄâDAEMON¹ÜÀíÆ÷ V3.47
29 ADIRAS
30 LXBKBMON
31 LXBKBMGR
32 S3Timer
33
34 LexPPS BCE Comm Window
35 MS_WebcheckMonitor
36 Search Results
37 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 16842839
Local 1: O Class: TDIALOG
Local 2: S
Local 3: U
TWINDOW:HANDLEEVENT
Param 1: N 20
Param 2: N 16842839
Param 3: N 0
TDIALOG:HANDLEEVENT
Param 1: N 20
Param 2: N 16842839
Param 3: N 0
Local 1: O Class: TDIALOG
DIALOGBOXINDIRECT
Param 1: N 4194304
Param 2: C "€ È€ 9Å P a s s w o r d P 9U f B U T T O N P Ý U \ ' g B U T T O N P Ý | \ H h B U T T O N P ? 5 i B U T T O N ‚V Ü È j T B I T M A P P 3( k S T A T I C E C P 3 l S T A T I C A C C O U N T I N G P à \ X m S T A T I C ( c ) C o p y r i g h t 2 0 0 7 , P à e X n S T A T I C E C C O M P U T E R P à n X o S T A T I C V E R S I O N 6 . 3 . 1 1 P à Š 2 p S T A T I C P a s s w o r d : €

Posted: Fri Nov 30, 2007 8:56 am
by Antonio Linares
Acwoo,

Are you using any FWH class modified by yourself ?