Click to See Complete Forum and Search --> : Load a Class in Vb from DLL write in C++


Navimel
February 22nd, 2004, 09:07 AM
Hi,

How i can find some example to create a DLL who contain a class and to use this class in VB ? I know how to export function, but to do this?

Thanks fo help

Yves M
February 22nd, 2004, 09:13 AM
COM does what you want. It does require a bit of learning though, it's not a simple thing.

A decent starting point is in MSDN under Component Development > Component Object Model (General)

Check the MFC example in the technical articles, this should get you an idea what you can do.

Navimel
February 22nd, 2004, 09:20 AM
thanks will try to see it