To use MapObjects objects without instantiating a map control while developing in Visual C++, use 'AfxOleInit()' to initialize your Ole DLLs.
Initialize the Ole DLLs by writing the following line of code into the event:
Get help from ArcGIS experts
Download the Esri Support App
Search for related information
Find training related to this topic
Explore ideas and give feedback