Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

Multiple mappoint processes with Delphi 6

This is a discussion on Multiple mappoint processes with Delphi 6 within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have written a application in Delphi 6. On one form, I use a Ole Container to dispaly map point, ...

  1. #1
    dradey is offline Junior Member White Belt
    Join Date
    Jan 2005
    Posts
    2

    Multiple mappoint processes with Delphi 6

    I have written a application in Delphi 6. On one form, I use a Ole Container to dispaly map point, to plot pin pushes for sales appointments. On another form I use mappoint in the background to calculate distances between two points. There is always two versions of the program running, to accomidate two divisions of the company. This does the job ok. However, because this causes four instances of mappoint to run in the background, it a drain on system resources. Is there a way to limit the number of running processes, perhaps by running a program of the server.


    Thank you

    Mark

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    No with 2 mappoint objects and 2 instances of the program you always will have 4 mappoin.exe in background.

    However. You can make a separate class to interface with mappoint.exe and with public methods for your other forms. Or you can make a dll whitch then can be used by the 2 instances of the program. Or a server program that deal with mappoint and clients can talk tough it with middleware architeture.

  3. #3
    dradey is offline Junior Member White Belt
    Join Date
    Jan 2005
    Posts
    2
    Thank you for your reply. How do go about writing a middleware application(s), is there any web sites which can help me

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    I have middleware developed in Delphi 5. The server make some classes and published methods that clients can use. You could use it probably for the calculation but also for other things. I never published the code because I did not have the time

    If you want to try it then please email me private and I send you the source. You may have it free. If you ever get rich from it then give me a part of the treasure

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using MapPoint In Delphi
    By Anonymous in forum MP2K Magazine Articles
    Replies: 8
    Last Post: 12-05-2005, 10:51 AM
  2. MapPoint.exe in list of processes
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 09-14-2004, 05:26 AM
  3. Mappoint addin with Delphi 6
    By jeanluc in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 09-15-2003, 03:03 PM
  4. MapPoint.Application in Delphi
    By joesebi in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-11-2003, 06:16 AM
  5. Mappoint With Delphi 5
    By stuarth in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-08-2003, 11:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96