OCIDL Type Library?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OCIDL Type Library?

James Foster-3
I'm playing with OCX and found an interesting class comment for
IOleClientSite:

"<IOleClientSite> is a wrapper class for the COM interface
'OCIDL.IOleClientSite' generated from type information in the 'OCIDL
Library' library. It contains methods to invoke the member functions exposed
by that interface.

This interface is implemented by Dolphin for call-in only at present (at
least until Dolphin supports control creation as well as hosting), so only
the function table is needed, hence the absence of any methods."

The class comment for IOleObject contains the following:

"<IOleObject> is a wrapper class for the COM interface 'OLEIDL.IOleObject'
generated from type information in the 'OLEIDL Library' library. It contains
methods to invoke the member functions exposed by that interface.

The type library contains no documentation for this interface

This class was originally generated by the type library analyzer in Dolphin
4, but many of the OLE interfaces it references are not present in 3.x. The
missing interfaces have been replaced with IUnknown, as we are only using a
small part of this interface and don't want to bloat the image with the
entirety of OLE Embedding and In-place Activation!"

If I were interested in supporting control creation and were willing to
"bloat the image with the entirety of OLE Embedding and In-place
Activation", where would I find the type libraries? I've been able to find a
number of "IDL" files, but most of them do not generate "TLB" files when I
follow the instructions in the Education Centre for using the MIDL compiler
(apparently because they don't have a "library" section).

It seems to me that Dolphin's ActiveX classes were generated circa Dolphin
4, and used a library that appears to me to be no longer available.


Reply | Threaded
Open this post in threaded view
|

Re: OCIDL Type Library?

Blair McGlashan-4
"James Foster" <[hidden email]> wrote in message
news:[hidden email]...

> ...
> If I were interested in supporting control creation and were willing to
> "bloat the image with the entirety of OLE Embedding and In-place
> Activation", where would I find the type libraries? I've been able to find
> a number of "IDL" files, but most of them do not generate "TLB" files when
> I follow the instructions in the Education Centre for using the MIDL
> compiler (apparently because they don't have a "library" section).
>
> It seems to me that Dolphin's ActiveX classes were generated circa Dolphin
> 4, and used a library that appears to me to be no longer available.

The typelibs were built by me using the corresponding IDL from the Platform
SDK. The IDL is not complete enough as is to build into a type library (no
library statements for a start), but it's relatively easy to build a typelib
from it with a bit of tweaking.

I no longer have these libraries. When I generate any Win32 API or OLE stuff
now I tend to add the necessary pieces (if not already there) to the Win32
type library I have created derived from the old Mandelbrot Set Win32
typelib for VB.

Regards

Blair