Dear all, I am using Delphi 7 & MapPoint, version 13 through an OleContainer, as explained on http://www.mp2kmag.com/a65--delphi.example.mappoint.html
Really, I did not call DoVerb. I am not intersted yet to show the map, but just to translate geographic coordinates in street addresses. I am using the four functions GetLocation, LocationToX, LocationToY and ObjectsFromPoint. I am having the problem "the invoked object is disconnected from the clients". Really, when I translate the first coordinates, everything works fine, but when I try to translate a second different coordinates, I get the problem. Note that the first time everything works fine also if I need to call more and more times those functions that's because if the translation does not give a valid address, I try to move from the initial point until a valid address is returned, or untile the move is too far]. Note also that if I rigenerate a new MapPoint object after to catch the "disconnection" exception, a new translation works fine and then the sucecssive one generates again an exception. Again, I would like to get some advice about how to check if 'old' generated MapPoint.exe are still alive in order to kill them. My problem is I do not know how to discover the ProcessId of the MapPoint.exe generated trough the OleContainer and, more, I found out its ParentProcessID is not my application process ID [but a svchost SYSTEM process ID]. I will be thankful for any help. Best regards, Mauro Russo. ---------- Questa email รจ stata verificata dal sistema centralizzato antivirus della UniPlan Software [Non-text portions of this message have been removed] ------------------------------------ ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [email protected]! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/delphi-en/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

