Is This Content Helpful?
We're glad to know this article was helpful.
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.
There are three possible solutions to this problem, depending on the constants needed by the project. Use Method One if able to remove enough constants to prevent the error. If needing to use more ProjectedCoordSystConstants than the system can handle, use Method Two. Finally, use Method Three if you don't need to use the ProjectedCoordSysConstants at all.
Be sure to remove only the constants the project does not need.
const int $myCS = $myValue;
$myCS is the name of the constant and $myValue is the ID number for the coordinate system.
static_cast<enum ProjectedCoordSysConstants> ($myCS);