| Re: Importing Cl***es -
06-04-2007, 08:56 AM
"Geoff Turner" <EMAIL REMOVED> wrote in message
news:br9f8d$EMAIL REMOVED...
> Hi all,
> OK, I have a DLL program that contains a couple of cl***es. There are
two
> things I would like to know:
> 1: How do I export a cl*** from a DLL
> 2: How do I import the cl*** into VB6?
>
> Note: The DLL in question is home-grown and written in VC++.
>
> Thanks for any help.
> GST
>
>
For it to work in VB6, you have to make it an ActiveX Dll in VC++. I
believe there are wizards and such for doing this in Visual Studio. I
only did a few simple tutorial-type examples of this, so I don't much
about the details, except that there are quite a few things you have to
do to make it an ActiveX Dll. |