Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Waiting for shutdown of mappoint process within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I work on integration of MapPoint 2002 and Delphi. Because the OCX doesn't work, i've used the method explained ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Waiting for shutdown of mappoint process I work on integration of MapPoint 2002 and Delphi. Because the OCX doesn't work, i've used the method explained in this article : http://www.mp2kmag.com/a65-delphi.example.mappoint.html It work fine until i try to close my application, so the only way i've found is to make a delay after destroying object. Like this : procedure TFMain.FormClose(Sender: TObject; var Action: TCloseAction); var i: Integer; begin Carte:= nil; OleContainer.DestroyObject; OleContainer.UpdateObject; OleContainer.Update; OleContainer.UpdateControlState; for i:=0 to 10000 do Forms.Application.ProcessMessages; Action:= caFree; end; I'm not proud with this code but it work, maybe someone have a better idea ? I've also try to find the handle of the mappoint process and wait until it not closed. Thanks in advance... and sorry for my english |
| |||
|
No more problems : http://www.mp2kmag.com/mappoint/disc...ghlight=delphi |
![]() |
| Tags |
| mappoint, process, shutdown, waiting |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mappoint as background process for Filemaker Pro App | Anonymous | MapPoint 2006/2009 Discussion | 8 | 03-12-2008 01:04 PM |
| Closing: MapPoint process stilll running | MD2000 | MapPoint 2006/2009 Discussion | 4 | 04-29-2005 08:58 AM |
| MP process priority | mgravell | MapPoint 2006/2009 Discussion | 2 | 03-24-2005 12:38 PM |
| Embedding MapPoint Install Process in Our Software Install | jbendiner | MapPoint 2006/2009 Discussion | 1 | 12-30-2004 01:50 PM |
| I am new to map point. I am in the process of doi.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-01-2002 02:09 PM |
Costa Brava Holiday
Beautiful kilometres of sandy beaches await you should you choose a Costa Brava holiday through UlookUbook!