MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to draw behind the map (C++) & disable Busy server (

This is a discussion on How to draw behind the map (C++) & disable Busy server ( within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I work with mappoint since few month. It's very simple to use but I have two problem : - I ...


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 06-19-2006
Junior Member
White Belt
 
Join Date: Jun 2006
Posts: 2
How to draw behind the map (C++) & disable Busy server (

I work with mappoint since few month. It's very simple to use but I have two problem :
- I need to draw on the map. Actually I draw on the map but I need to manage the redraw. Is it possible to get the Device context of the map?

- The application runs on an embedded computer so sometimes the computer slow down and I have the message box "Busy Server, Retry ..."
I find some solution but only in VB but not in C++. How to do this?

Thanks for your reply
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 06-21-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,123
Hi,

The 'busy server' is when your application does not respond within 10 seconds in an event.
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 06-22-2006
Junior Member
White Belt
 
Join Date: Jun 2006
Posts: 2
Thanks for the reply. I know why "busy server" appears. In fact in my application, mappoint is only a small part so sometime during 10 second they are no respond. I try to work with "COleMessageFilter" to change the DCOM Timeouts but without succes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 06-22-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,123
Hi,

You should quickly exit every event of mappoint component. If you have lengthy things to do then do it outside the event. Note that showing a form or a menu is out of the question. Best is to post a message to a custom event handler to get an exeution outside the event.

I dont know of course how this all works out in the embedded system you use.
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
busy, disable, draw, map, server


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
Server is Busy Anonymous MapPoint 2006/2009 Discussion 4 01-18-2005 04:52 AM
server busy problem! Anonymous MapPoint 2006/2009 Discussion 8 01-02-2005 04:04 AM
Server Busy Sylvain MapPoint 2006/2009 Discussion 21 09-18-2004 05:25 PM
Server Busy Message fix in .Net matnace MapPoint 2006/2009 Discussion 0 05-11-2004 12:48 PM
Server Busy Timeout Ninjas MapPoint 2006/2009 Discussion 1 01-13-2004 11:35 PM


All times are GMT -5. The time now is 10:14 PM.


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


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