error , FWH.905 & xHB.53

error , FWH.905 & xHB.53

Postby kajot » Sat Jun 20, 2009 2:10 pm

when I linke my sources I will get error

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"D:\fwh\lib" -LIBPATH:"R:\lib" -LIBPATH:"R:\c_lib" -LIBPATH:"R:\c_lib\win" "t.obj" "FiveHCM.lib" "FiveHMX.lib" "OptG.lib" "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3comm.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 msimg32.lib mpr.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"t.exe"<<<

Creating object: t.EXP

Creating library: t.LIB

xLINK: error: Unresolved external symbol '??2@YAPAXI@Z referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '??3@YAXPAX@Z referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '_HB_FUN_OLEINVOKE referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '_HB_FUN_OLESETPROPERTY referenced from Fivehcm.lib(ACTX.obj)'.

xLINK: error: Unresolved external symbol '_HB_FUN_OLEGETPROPERTY referenced from Fivehcm.lib(ACTX.obj)'.

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


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

I used FWH.905 and the last version xharbour /053/ / Pelles ISO C Compiler, Version 2.71.0 /

best regards
kajot
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: error , FWH.905 & xHB.53

Postby Antonio Linares » Sat Jun 20, 2009 2:28 pm

Kajot,

You have to link this xhb.obj file:
http://www.fivetechsoft.com/files/xhb.obj

and also add this source code in one of your PRGs:
Code: Select all  Expand view

function OleInvoke( hObj, cMethod, ... )

#ifndef __XHARBOUR__
   return __ObjSendMsg( TOleAuto():New( hObj ), cMethod, ... )
#else  
   local aParams := hb_aParams()

   aParams[ 1 ] = TOleAuto():New( hObj )

   return hb_execFromArray( @__ObjSendMsg(), aParams )  
#endif

function OleSetProperty( hObj, cPropName, uValue )

return __ObjSendMsg( TOleAuto():New( hObj ), "_" + cPropName, uValue )

function OleGetProperty( hObj, cPropName )

return __ObjSendMsg( TOleAuto():New( hObj ), cPropName )
 
regards, saludos

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

Re: error , FWH.905 & xHB.53

Postby kajot » Sat Jun 20, 2009 3:39 pm

thanks

but, I always have to add it to my source.

best regards
kajot
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: error , FWH.905 & xHB.53

Postby Antonio Linares » Sat Jun 20, 2009 4:57 pm

Kajot,

Only if you use TActiveX. If not, then PellesC should not try to link it.
regards, saludos

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

Re: error , FWH.905 & xHB.53

Postby kajot » Sat Jun 20, 2009 5:22 pm

I don't use tActiveX.
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: error , FWH.905 & xHB.53

Postby Antonio Linares » Sat Jun 20, 2009 5:45 pm

Kajot,

> I don't use tActiveX

Then it seems as a PellesC linker error, as it should not try to link it.

If you make a search for ActiveX in all PRGs you will see that ActiveX only appears in its own class source code.
regards, saludos

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

Re: error , FWH.905 & xHB.53

Postby kajot » Sat Jun 20, 2009 6:12 pm

I use xBUILDW.EXE , how may I turn off axtivex.lib .
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: karinha and 43 guests