Discussion:
XHarbour OLE
(too old to reply)
Hu
2009-09-23 17:15:13 UTC
Permalink
Hi all , I´m testing TESTOLE.PRG but it´s hard to find out OBJECT/
APPLICATION´s methods , properties , etc.
Ron Pinkas gave a tip to take a look on LISTOLE.PRG from \XHB\SAMPLES
from xharbour.com.
I´m trying to compile and linkt LISTOLE.PRG but got the error :
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland

Error: 'C:\XHB12001\TST\OLE\VXH.LIB' contains invalid OMF record, type
0x21 (possibly COFF)

I´ve also tried Visual XHarbour compiler and got :

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -
subsystem:console -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -
LIBPATH:"C:\xHB\c_lib\win" "obj\ListOle.obj" DbgServe.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 -out:"listole.exe"<<<

Creating object: listole.EXP

Creating library: listole.LIB

xLINK: error: Unresolved external symbol '_HB_FUN_LOADTYPELIB
referenced from (ListOle.obj)'.

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


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

I will appreciate any help

TIA
Hu
Ron Pinkas
2009-09-23 18:08:10 UTC
Permalink
Post by Hu
Hi all , I´m testing TESTOLE.PRG but it´s hard to find out OBJECT/
APPLICATION´s methods , properties , etc.
Ron Pinkas gave a tip to take a look on LISTOLE.PRG from \XHB\SAMPLES
from xharbour.com.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: 'C:\XHB12001\TST\OLE\VXH.LIB' contains invalid OMF record, type
0x21 (possibly COFF)
Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -
subsystem:console -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -
LIBPATH:"C:\xHB\c_lib\win" "obj\ListOle.obj" DbgServe.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 -out:"listole.exe"<<<
Creating object: listole.EXP
Creating library: listole.LIB
xLINK: error: Unresolved external symbol '_HB_FUN_LOADTYPELIB
referenced from (ListOle.obj)'.
xLINK: fatal error: 1 unresolved external(s).
Type: C >>>Couldn't build: listole.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1411<<<
I will appreciate any help
TYPE INFO based implementation of OLE is a proprietary product of
xHarbour.com available as Ole.lib. It is included in xHarbour Builder
Professional and Enterprise editions, or you may purchase it as a stand
alone product for Borland. You may download ListOle.exe from the community
pages at:

http://www.xharbour.com/xHC

There are other free utilities to list type info of OLE Servers, you should
be able to find on Google. Also the Documentation or help file of your OLE
control may have this info.

Ron
Hu
2009-09-23 18:45:38 UTC
Permalink
Post by Ron Pinkas
Post by Hu
Hi all , I´m testing TESTOLE.PRG but it´s hard to find out OBJECT/
APPLICATION´s methods , properties , etc.
Ron Pinkas gave a tip to take a look on LISTOLE.PRG from \XHB\SAMPLES
from xharbour.com.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: 'C:\XHB12001\TST\OLE\VXH.LIB' contains invalid OMF record, type
0x21 (possibly COFF)
Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -
subsystem:console -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -
LIBPATH:"C:\xHB\c_lib\win"  "obj\ListOle.obj" DbgServe.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 -out:"listole.exe"<<<
Creating object: listole.EXP
Creating library: listole.LIB
xLINK: error: Unresolved external symbol '_HB_FUN_LOADTYPELIB
referenced from (ListOle.obj)'.
xLINK: fatal error: 1 unresolved external(s).
Type: C >>>Couldn't build: listole.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>>      1411<<<
I will appreciate any help
TYPE INFO based implementation of OLE is a proprietary product of
xHarbour.com available as Ole.lib. It is included in xHarbour Builder
Professional and Enterprise editions, or you may purchase it as a stand
alone product for Borland. You may download ListOle.exe from the community
   http://www.xharbour.com/xHC
There are other free utilities to list type info of OLE Servers, you should
be able to find on Google. Also the Documentation or help file of your OLE
control may have this info.
Ron- Ocultar texto das mensagens anteriores -
- Mostrar texto das mensagens anteriores -
Thanks Ron !
For understanding purposes could you explain why I got error with
xharbour.com compiler ?

Regards
Hu
Ron Pinkas
2009-09-23 22:50:00 UTC
Permalink
Post by Hu
Thanks Ron !
For understanding purposes could you explain why I got error with
xharbour.com compiler ?
The DEMO version and the Personal version do NOT include Ole.Lib.

Ron

Loading...