"Geoff Turner" <g.********@rl.ac.uk> wrote in message
news:br*********@newton.cc.rl.ac.uk...
Hi all,
OK, I have a DLL program that contains a couple of classes. There are
two things I would like to know:
1: How do I export a class from a DLL
2: How do I import the class 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.