Problem with webexp.prg in fwh march 2006

Problem with webexp.prg in fwh march 2006

Postby AlexSchaft » Fri Mar 03, 2006 2: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?
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Postby Antonio Linares » Fri Mar 03, 2006 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Gianni » 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:
Code: Select all  Expand view  RUN
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
Gianni
 
Posts: 30
Joined: Fri Oct 07, 2005 6:58 am

Postby Gianni » Fri Mar 03, 2006 4:58 pm

any news?

regards
Gianni
Gianni
 
Posts: 30
Joined: Fri Oct 07, 2005 6:58 am

Postby Antonio Linares » Fri Mar 03, 2006 7:04 pm

We are reviewing it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Fri Mar 03, 2006 10:02 pm

Alex, Gianni,

Fixed. Please download FWH.exe again. Thanks,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Richard Chidiak » Sat Mar 04, 2006 7: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Gianni » Sat Mar 04, 2006 3:34 pm

Many thanks but I still ave 2 error:
Code: Select all  Expand view  RUN

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<<<

Gianni
 
Posts: 30
Joined: Fri Oct 07, 2005 6:58 am

Postby Antonio Linares » Sat Mar 04, 2006 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 74 guests