ERROR
When using the #import directive to include MO20.ocx, and the project is compiled in debug mode, the following error may occur:"Fatal error C1067: compiler limit: debug information size exceeded"
When the project is compiled in debug mode, two files are created in the output directory: Mo20.tlh and Mo20.tli. The error occurs because the declaration of "ProjectedCoordSysConstants" in Mo20.tlh is too large for the compiler to handle.
Code:
#include "mo20.tlh"
Note:
Be sure to remove only the constants the project does not need.
Code:
const int $myCS = $myValue;
Note:
$myCS is the name of the constant and $myValue is the ID number for the coordinate system.
Code:
static_cast<enum ProjectedCoordSysConstants> ($myCS);
Article ID:000006103
Get help from ArcGIS experts
Download the Esri Support App