HOW TO
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:
Code:
AfxOleInit();
Article ID:000002478
Get help from ArcGIS experts
Download the Esri Support App