Problem with webexp.prg in fwh march 2006
- AlexSchaft
- Posts: 172
- Joined: Fri Oct 07, 2005 1:29 pm
- Location: Edenvale, Gauteng, South Africa
Problem with webexp.prg in fwh march 2006
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?
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?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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.
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.
I'm using xHarbour.com and still have same problem as Alex
I execute this command but take this error:
Regards
Gianni
I execute this command but take this error:
Code: Select all
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
Gianni
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Many thanks but I still ave 2 error:
Code: Select all
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<<<
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Alex, Gianni,
Fixed!
Please link this OBJ from xHB:
http://hyperupload.com/download/f2f7d320/test.obj.html
Fixed!
Please link this OBJ from xHB:
http://hyperupload.com/download/f2f7d320/test.obj.html