Community of VE/MapPoint 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 ...
| |||||||
| 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 |
Three Valleys France
The Three Valleys in France have a great reputation for great skiing. Holiday Hypermarket has just added another reason for you to go, a range of great prices from top travel operators.
Spain Weather
Check out Spain Weather - Travel Counsellors details information on Spain including, weather, flights and accommodation.
Holiday in Turkey
A Holiday in Turkey is great value when you book with dealchecker.co.uk. There is an abundance of things to see and do. Check out the well-preserved Greco-Roman ruins.
Cyprus Holidays
Cyprus holidays will offer you a wealth of activities all in the most beautiful surroundings. Relish the beauty of Cyprus on a short break.
Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.
Cheap Holiday
For the holiday of your life that is cheap enough to afford with ease, visit Travel.co.uk
Holidays in Goa
Want to know more about Indian culture? Visit On The Beach for information on holidays in Goa.