View Single Post

  #3 (permalink)  
Old 05-15-2007
doMapPoint doMapPoint is offline
Junior Member
Yellow Belt
 
Join Date: May 2007
Location: Germany
Posts: 13
Re: How to close MapPoint applications correctly?

Hello Wilfried,

I tried only to open and then close my application. The same error occurs.

Now I created a new application only with the OleContainer on the form and loaded MapPoint in it the same way I described in my previous post (without setting mpApplication.Units) It worked without error.
After that I put a MapPoint Application object on the form and the error was there again. It seems to have something to do with the mappoint application object... But why?

Another question is why I need the MP Application object at all? It seems not to be linked to the global FMap variable... So I think setting the mpApplication.Units (for example) has no effect on the FMap object.

Best wishes
Dietmar
Reply With Quote