I'm developing an application in VFP that uses the MapPoint 2002 ActiveX component. The embedded object functions just fine but when I try to leave my application I get a "Cannot quit VFP" error. This error occurs when there is an open link to a third party component still active and so windows won't let you terminate the instantiating program. I've verified all of my clean up code, but the problem persists. Is there some thing specific to the ActiveX object that I might not be aware of? I saw your artical on the reg file alterations, might this be related?
Note: We don't get the same problem with the COM object.
Steps: Add an ole container with a MapPoint object to a form. Create a new map, find an address,release all created pointers, close map, release object and attempt to exit the application.