| MapPoint Automation with C/C++ - Part 1
Thanks for the article.
It is on track for what I wanted to do.
But the problem I am having is that I can't get the code sample to run correctly. All works fine until the program exits (after the ConUninitialize()). At this time I get a trap in _Release() accessing m_pInterface. m_pInterface has a non-NULL value but appears to be invalid.
I believe it may be due to not having a myMapPtr->Release(), as well as other object releases.
I have tied this, but I have not found the right combination (if indeed this is the problem).
Any insights as to what is happening or how to diagnose this problem? |