Page 1 of 1
FWH and xharbour activex error?
Posted: Sat Oct 14, 2006 10:56 pm
by Mike Buckler
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
Posted: Sun Oct 15, 2006 8:55 pm
by Antonio Linares
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 ?
Posted: Tue Oct 17, 2006 9:31 pm
by Mike Buckler
I am using -
xHarbourBuilder-Enterprise-Oct2006.exe
Posted: Tue Oct 17, 2006 10:38 pm
by Antonio Linares
Mike,
Here it is working fine. Are you linking FWH libraries before xHB ones ? Are you using standard xHB to build the samples ?
Posted: Tue Oct 17, 2006 10:44 pm
by Gale FORd
I am getting the same error.
There is no obvious way to change the link order of FWH with xHarbour Builder
Posted: Wed Oct 18, 2006 6:25 am
by Antonio Linares
New Error
Posted: Wed Oct 18, 2006 2:22 pm
by Mike Buckler
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<<<
Posted: Wed Oct 18, 2006 4:21 pm
by Antonio Linares
Mike,
Those symbols should be provided in FiveHMX.lib.
Have you recompiled FiveHMX.lib yourself ?