Reliability problems

danmincu
11-09-2007, 10:47 PM
I have an application that behaves like a proxy around MapPoint 2006 and delivers maps to clients via TCP/IP. I call this combination Map Server.
I am using a W2K( I know is old :)) to host my "map server" and sporadically the connection between my proxy and MapPoint.exe crashes.
Usually there is a MapPoint.exe remaining resident in memory. Sometimes this process doesn't even allow logging out the current user.
Anyway the question is: HOW RELIABLE is the usage of MapPoint as an OLE Server? Can I use an instance of MapPoint to deliver hundreds or even thousands of requests? (One map though, I preserve the memory consumption I use the same map over and over, I use MapPoint in a stateless manner)
Does the fact that I'm using W2K as the OS affects the overall behaviour?
My proxy server is written in Delphi if this matter.

Many thanks, any idea or feedback is very welcomed!
Dan

Wilfried
11-12-2007, 12:30 PM
Hi,

Very reliable. For a 24/7 application be sure you have all OLE calls into a try/except block.

danmincu
11-12-2007, 09:42 PM
Thanks for the reply!
What I did actually today was pretty interesting. I was intentionally killing MapPoint.exe to allow me to test and implement a "clean and recover" algorithm. I end up reconsidering my routines a bit, I found at least couple of mistakes like calling disconnect before Application.Quit etc..
Dan

 
Web mp2kmag.com
mapforums.com