FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH and xharbour activex error?
Posts: 67
Joined: Thu Jan 05, 2006 10:35 PM
FWH and xharbour activex error?
Posted: Sat Oct 14, 2006 10:56 PM

Application

Path and name: C:\FWH\SAMPLES\media.exe (32 bits)
Size: 1,555,968 bytes
I am using xharbour from xharbour.com current release and current release of fwh.
I get the following error.
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 10/14/06, 18:55:42
Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: HWND
Args:

Stack Calls

Called from: => HWND(0)
Called from: TActiveX.prg => TACTIVEX:NEW(0)
Called from: TActiveX.prg => CREATEACTIVEX(184)
Called from: TActiveX.prg => TACTIVEX:NEW(0)
Called from: media.prg => MAIN(11)

System

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH and xharbour activex error?
Posted: Sun Oct 15, 2006 08:55 PM

Mike,

> I am using xharbour from xharbour.com

xHarbourBuilder-Personal-Oct2006.exe ? (or Professional)

> current release and current release of fwh

2.8 September 2006 ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 67
Joined: Thu Jan 05, 2006 10:35 PM
FWH and xharbour activex error?
Posted: Tue Oct 17, 2006 09:31 PM

I am using -
xHarbourBuilder-Enterprise-Oct2006.exe

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH and xharbour activex error?
Posted: Tue Oct 17, 2006 10:38 PM

Mike,

Here it is working fine. Are you linking FWH libraries before xHB ones ? Are you using standard xHB to build the samples ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
FWH and xharbour activex error?
Posted: Tue Oct 17, 2006 10:44 PM

I am getting the same error.
There is no obvious way to change the link order of FWH with xHarbour Builder

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH and xharbour activex error?
Posted: Wed Oct 18, 2006 06:25 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 67
Joined: Thu Jan 05, 2006 10:35 PM
New Error
Posted: Wed Oct 18, 2006 02:22 PM

Now I get the following error, when I try with media.zip you uploaded.
Thanks Mike.
Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -LIBPATH:"C:\xHB\c_lib\win" -LIBPATH:"C:\fwh\libx" -LIBPATH:"C:\fwh\lib" "media.obj" FiveHCM.lib FiveHMX.lib OptG.lib xhb.lib dbf.lib ntx.lib cdx.lib rmdbfcdx.lib activex.lib crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"media.exe"<<<

xLINK: error: Unresolved external symbol '_HB_FUN_TREBAR'.

xLINK: error: Unresolved external symbol '_HB_FUN_TTOOLBAR'.

xLINK: fatal error: 2 unresolved external(s).

Type: C >>>Couldn't build: media.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1275<<<

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH and xharbour activex error?
Posted: Wed Oct 18, 2006 04:21 PM

Mike,

Those symbols should be provided in FiveHMX.lib.

Have you recompiled FiveHMX.lib yourself ?

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion