Is This Content Helpful?
We're glad to know this article was helpful.
The MFC samples with MapObjects show memory leaks. How do I fix this?
An incorrect method is currently used to create fonts in several of the MFC samples in MapObjects 2. These errors are noticeable specifically in the following files:
\CGuide\Step 10 - Printing and Preview\EasyMapView.cpp
\CGuide\Step 9 - Event Tracking\EasyMapView.cpp
Your code should resemble the following snippet:
// similar to CreateDispatch