MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Waiting for shutdown of mappoint process

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2003
Junior Member
White Belt
 
Join Date: Oct 2003
Posts: 4
Waiting for shutdown of mappoint process

Hello,

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 10-27-2003
Junior Member
White Belt
 
Join Date: Oct 2003
Posts: 4
No more problems :
http://www.mp2kmag.com/mappoint/disc...ghlight=delphi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
mappoint, process, shutdown, waiting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 12:39 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

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.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52