FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with webexp.prg in fwh march 2006
Posts: 172
Joined: Fri Oct 07, 2005 01:29 PM
Problem with webexp.prg in fwh march 2006
Posted: Fri Mar 03, 2006 02:54 AM

Hi,

I get the following unresolved externals:

xLINK: error: Unresolved external symbol '_HB_FUN_OLEGETPROPERTY'.

xLINK: error: Unresolved external symbol '_HB_FUN_OLESETPROPERTY'.

xLINK: error: Unresolved external symbol '_HB_FUN_OLEINVOKE'.

xLINK: error: Unresolved external symbol '??2@YAPAXI@Z'.

xLINK: error: Unresolved external symbol '??3@YAXPAX@Z'.

This is the link cmd used by Xhb:

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\lib" "webexp.obj" "activex.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 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:"webexp.exe"

Should this be changed?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with webexp.prg in fwh march 2006
Posted: Fri Mar 03, 2006 09:20 AM

Alex,

In whatsnew.txt is explained (some months ago) that to use ActiveX with xharbour these changes are required:

IMPORTANT: In order to use ActiveX with xHarbour, you must do the
following: tlib.exe fivehc.lib - ole.obj

If you are using xharbour.com then:
(Microsoft) LIB.exe /REMOVE:ole.obj fivehcm.lib

The reason of this is because fivehc.lib and fivehcm.lib work with both Harbour and xharbour.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 30
Joined: Fri Oct 07, 2005 06:58 AM
Problem with webexp.prg in fwh march 2006
Posted: Fri Mar 03, 2006 10:48 AM
I'm using xHarbour.com and still have same problem as Alex
I execute this command but take this error:
LIB.exe /REMOVE:ole.obj c:\fivewin\lib\fivehcm.lib
Microsoft (R) Library Manager Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved

LIB : warning LNK4014: cannot find member object ole.obj


Regards
Gianni
Posts: 30
Joined: Fri Oct 07, 2005 06:58 AM
Problem with webexp.prg in fwh march 2006
Posted: Fri Mar 03, 2006 04:58 PM

any news?

regards
Gianni

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with webexp.prg in fwh march 2006
Posted: Fri Mar 03, 2006 07:04 PM

We are reviewing it

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with webexp.prg in fwh march 2006
Posted: Fri Mar 03, 2006 10:02 PM

Alex, Gianni,

Fixed. Please download FWH.exe again. Thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Problem with webexp.prg in fwh march 2006
Posted: Sat Mar 04, 2006 07:34 AM
Antonio Linares wrote:Alex, Gianni,

Fixed. Please download FWH.exe again. Thanks,


:-)
Antonio

Can you clarify this a bit more please ?

Do we have to remove the ole.obj from fw library for Activex or any Ole related to xharbour. Many of us use Ole with word, excel , etc...
What is the correct behaviour ?

Thank you

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with webexp.prg in fwh march 2006
Posted: Sat Mar 04, 2006 12:09 PM

Richard,

No, there is no need to remove anything at all :)

FWH works fine with Harbour, xHarbour and xHB.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 30
Joined: Fri Oct 07, 2005 06:58 AM
Problem with webexp.prg in fwh march 2006
Posted: Sat Mar 04, 2006 03:34 PM
Many thanks but I still ave 2 error:
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:\fivewin\lib" "webexp2.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:"webexp.exe"<<<

xLINK: error: Unresolved external symbol '??2@YAPAXI@Z'.

xLINK: error: Unresolved external symbol '??3@YAXPAX@Z'.

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


Type: C >>>Couldn't build: webexp.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>>      1266<<<
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with webexp.prg in fwh march 2006
Posted: Sat Mar 04, 2006 04:25 PM

Alex, Gianni,

Fixed! :D

Please link this OBJ from xHB:

http://hyperupload.com/download/f2f7d320/test.obj.html

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion