The problem: Using an ActiveX dll
In VB, in the references dialog y can select any registered dll such as 'Olemsg.dll'.
Then in any piece of code i can instantiate objects exposed in the library using a simple and cheap Dim statement e.g.:
Dim obj As MAPI.Recipient
Set obj = CreateObject("MAPI.Recipient")
How do I do the same in C++? I'm using VC++ 6.0