Creating COM objects in C++.NET
> I am trying to create COM objects in my C++.NET class library.
> How do I do this when I have an ATL COM component that I want to use
> my VC++.NET project.
You could, of course, use tlbimp.exe to import the type library and all
that, sort of how you'd do it for C#
or VB.NET. On the other hand, you could
just call it in the same way you've always called it from plain C++ code,
and even use #import or ATL's COM smart pointers.