Page 1 of 3

rebuild and found error fwh 8.04 & xHb.com

Posted: Sat Apr 12, 2008 1:46 pm
by dutch
Dear Antonio,

I rebuild 8.04 with xHb.com and recompile my program. I've found this following error and I cannot found this function in any file (in \source )

xLINK: error: Unresolved external symbol '_HB_FUN_CHMHELPTOPIC'.
xLINK: error: Unresolved external symbol '_HB_FUN_CHMHELPINDEX'.
xLINK: error: Unresolved external symbol '_HB_FUN_CHMHELPPOPUP'.

Regards,
Dutch

Posted: Sat Apr 12, 2008 2:11 pm
by Antonio Linares
Dutch,

There is a new PRG file that you have to add to the library:

fwh\source\winapi\helpchm.prg

Posted: Sat Apr 12, 2008 2:20 pm
by dutch
Thanks Antonio,

It's work now. I find in \classes and \function but miss \winapi folder.

Thanks&Regards,
Dutch

Posted: Sat Apr 12, 2008 8:17 pm
by George
Antonio,

After adding Helpchm.prg I am getting the following messages:

Code: Select all

Conversion from "void *" 'to unsigned long' is indefined.
Unresolved external symbol: HB_FUN__CLSACTIVE.
I am using xharbour (xBuider Pro - Nov 07) and FWH 8.04

George

Posted: Sat Apr 12, 2008 8:56 pm
by Antonio Linares
George,

Please copy here the complete error message, thanks

Posted: Sun Apr 13, 2008 3:05 am
by George
Antonio, this is the message that I am getting from xBuilder Pro Nov_07

Code: Select all

Source File                                        
C:\\_BSA_FORMS\\helpchm.prg

Posted: Sun Apr 13, 2008 3:13 am
by George
Antonio here is the complete message:
helpchm.prg Line 235 Warning: Conversion from 'void *' to 'unsigned long' is undefined

Xlink Error: Unresolved external symbol 'HB_FUN__CLSACTIVE'
Error couldn't build.

I am using FWH 8.04 downloaded today and xHarbour Builder Pro Nov_07

Note: This program compile without problem using FWH 8.03 and xHarbour Builder

Regards,


George

Posted: Sun Apr 13, 2008 8:49 am
by Antonio Linares
George,

You need an upgraded version of xHarbour builder (xHB commercial)

Posted: Sun Apr 13, 2008 12:54 pm
by Robert Frank
I tried to compile testxbrw.prg and I got error:

Compiling...
xHarbour Compiler build 1.0.0 (SimpLex)
Copyright 1999-2007, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'testxbrw.prg' and generating preprocessed output to 'testxbrw.ppo'...

Lines 812, Functions/Procedures 24
Generating C source output to 'testxbrw.c'...
Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
testxbrw.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN___CLSACTIVE' referenced from C:\FWH\LIB\FIVE
HX.LIB|XBROWSE
* There are errors

I'm using xHarbour 1.0.0

Posted: Sun Apr 13, 2008 1:49 pm
by George
Antonio,

I have xHarbour Comercial last version (November 2007). I did the upgrade three weeks ago together with the FWH 8.03 upgrade.

Regards,

George

Posted: Sun Apr 13, 2008 5:14 pm
by nageswaragunupudi
>
Error: Unresolved external '_HB_FUN___CLSACTIVE' referenced from C:\FWH\LIB\FIVE
HX.LIB|XBROWSE
* There are errors

I'm using xHarbour 1.0.0
>

I too confirm that with xHarbour 1.0.0 we get this Unresolved External error. We need later version of xHarbour.
With latest xHarbour build provided by FWH, this problem is not there.

Posted: Sun Apr 13, 2008 9:08 pm
by Robert Frank
nageswaragunupudi wrote:>

With latest xHarbour build provided by FWH, this problem is not there.
My SQL lib (mediator from www.otc.pl) doesn't work with latest xHarbour.
Is this posible to fix this error with my version of xHarbour?

R.

xHarbour.com

Posted: Sun Apr 13, 2008 10:22 pm
by TimStone
Antonio,

November 2007 is the latest commercial version of xHarbour. Anything beyond that is considered betas for testing purposes only, and not exactly stable.

Tim

Posted: Sun Apr 13, 2008 10:55 pm
by Antonio Linares
As a temporary workaround please define this function in your main app:

function __ClsActive() ; return nil

Posted: Mon Apr 14, 2008 2:29 am
by nageswaragunupudi
Mr Robert Frank
Robert Frank wrote:
nageswaragunupudi wrote:>

With latest xHarbour build provided by FWH, this problem is not there.
My SQL lib (mediator from www.otc.pl) doesn't work with latest xHarbour.
Is this posible to fix this error with my version of xHarbour?

R.
If you are using xharbour 1.0.0, compile xbrowse.prg also with your version of xharbour and link it along with your application. You will not get unresolved external. I have tested this and it is working fine.