Board index » cppbuilder » activeX from dll
activeX from dll
2005-09-01 01:03:16 AM
I would like to use an ActiveX component embedded in a dll, there's no
.ocx since it's not a visual component as far as i know : how can i
access this component in BCB6?
aix-les-bains / france
|Remy Lebeau (TeamB)
2005-09-06 01:09:20 PM
Re:activeX from dll
"David chèze" < XXXX@XXXXX.COM >wrote in message
I would like to use an ActiveX component embedded in a dll
there's no .ocx since it's not a visual component as far as i know
via the REGSVR32.EXE utility and then use the CoCreateInstance() function to
how can i access this component in BCB6?
instantiate the desired class. In order to actually use the object instance
at runtime, you will have to know the class declaration for the interface.
If the DLL has a TypeLibrary available then you can create C++ header files
for it via Borland's TLIBIMP.EXE utility.