MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Possible Bug in MapPoint ?

This is a discussion on Possible Bug in MapPoint ? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi; I have developed COM Automation using Visual FoxPro. The code is "almost" the same as VB. In this module, ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-16-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Possible Bug in MapPoint ?

Hi;
I have developed COM Automation using Visual FoxPro. The code is "almost" the same as VB. In this module, when I use:

PUBLIC goMapApp
goMapApp = createobject("MapPoint.Application")
goMapApp.UserControl = .T. && to get it out of memory when User EXISTS

The instance of MapPoint STAYS in Memory after the User Exists, even when I
RELEASE goMapApp. So, I can not reference the same MAP again, or make it visible. Once the User closes the MapPoint instance, its locked in, and I have to CreateObject again, otherwise it issues RPC Server is not available.

So, I am forced NOT to make goMapApp public. Otherwise after a few times, the system resources are depleted.

This seems to be a BUG, since according to the documentation, when UserControl = .T., it is supposed to unload it from memory, regardless of the controlling application.

Has anybody come across this?
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-02-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Any Responses to this?

I've noticed the same issue. Has anyone any fixes for this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 10-05-2004
Junior Member
Yellow Belt
 
Join Date: Apr 2004
Posts: 16
Not sure if this'll take care of this, but I seem to recall reading somewhere that when you're done with MP in a program, you should set your objects to "".
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


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


All times are GMT -5. The time now is 07:53 AM.


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

Ski Weekend
Slip in a sneaky ski weekend to add a bit of variety compared to normal weekends. A ski weekend can be great value when you book online at Holiday Hypermarket.

Greece Weather
Check out Greece Weather - Travel Counsellors details information on Greece including, weather, flights and accommodation.

Flights Canada
Our search results will show you a selection of airlines, travel agents and tour operators offering cheap flights to Canada. See for yourself who has the cheapest deals.

Holidays to Mauritius
Visit the paradise island in your holidays to Mauritius. Enjoy the friendliness of the locals, the warm of the sun and the beauty of the views!

Cheap Spain Holidays
Stay well informed when you are searching for cheap holidays online. For useful advice on when to book cheap Spain holidays make sure you look on ulookubook.com

Holiday
For the holiday of your life, that is easy to plan, visit Travel.co.uk to see all the options.

Holidays to Gran Canaria
The Canary Islands await! Book holidays to Gran Canaria online at On The Beach!


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