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

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 Desktop 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 ...

  1. #1
    Laurent is offline 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

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

    The 'busy server' is when your application does not respond within 10 seconds in an event.

  3. #3
    Laurent is offline 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.

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Server Busy
    By Sylvain in forum MapPoint Desktop Discussion
    Replies: 22
    Last Post: 05-07-2014, 07:28 PM
  2. Server is Busy
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 01-18-2005, 04:52 AM
  3. server busy problem!
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 8
    Last Post: 01-02-2005, 04:04 AM
  4. Server Busy Message fix in .Net
    By matnace in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-11-2004, 12:48 PM
  5. Server Busy Timeout
    By Ninjas in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-13-2004, 11:35 PM

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