Click to See Complete Forum and Search --> : classes in VB


November 10th, 1999, 02:06 PM
Hi all,

we are trying to use a C++ DLL in VB. Is it possible to access/instantiate classes declared in the DLL. (We are not in a position to switch to COM right now.)

Is there any website/book where this is explained.
Any help is appreciated

thanks
kr

Lothar Haensler
November 11th, 1999, 01:47 AM
IMHO there are only two ways to access your C++ classes:
- use COM (you can't as you tell us)
- create a C-interface for your C++ classes and call the functions from VB. You cannot create instances of VC++ classes in VB.