Is This Content Helpful?
We're glad to know this article was helpful.
To use MapObjects objects without instantiating a map control while developing in Visual C++, use 'AfxOleInit()' to initialize your Ole DLLs.
When you do not add a map control to your application, you will need to manually initialize some COM libraries.
Initialize the Ole DLLs by writing the following line of code into the event: