Has anybody found that closing the MapPoint ActiveX control is rather "dangerous"? I have found that on one system the application closed normaly (when closing the main form that contains the ActiveX control) but on other systems, the application hangs and refuses to close. I have to use the Task Manager to kill the process . I mention that i use MapPoint 2006.
What can i do?
Here is the code i use to open (start) the ActiveX control and the code to close it:
var Map1: TMap;
with Form1.OLEContainer do begin
FMap := IDispatch(OleObject) as _Map;
with Map1 do