If you are forced to use native C++, you have to use COM Interop, indeed.
Here is how you can do this:
tlbExp myVBdotNETLib.dll
generates a .tlb file
in your C++ code:
#import "myVBdotNETLib.tlb"
However if you can use the managed features of C++, it is much easier, since
you just need to reference the managed dll in order to use it's types from
managed code. You can import this either via
#using "myVBdoNETLib.dll"
or via the compiler switch /FU, use VS.NET project settings for that.
Marcus Heege
"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:29**********************************@microsof t.com...
Hi, i made a VB.net dll....i want to kno how i can use it in C++. I kno i
need to make it a com object and how to call it. ive looked at several
websites and none of them seem to work bc i dont understand it....so if
anyone can any help id be grateful....thanks
-iwdu150