|
Hi,
The 'server busy' popup is in fact a very confusing message. It does not mean mappoint is busy, it means that mappoint is trying to process windows messages to your application and your application does not respond. But that's not all. I try to explain when it can show up:
- Your application is not pumping messages on a (hidden) window. This can for example happen if it is looping somewhere during a long time. (I think >= 10 seconds). If that is the case then optimize the length operation or move it into a background thread.
- Your application is pumping messages, but has a modal form in one of the Mappoint events. For example a popup menu.
- If your application is multithreading and there is a hidden window created in one of the threads, be sure to have a working message pump in that thread. Note that this is not nececary if you have no window over there.
There could be more reasons but this are the only one I am aware off. For example your application is multithreading. I think mappoint is thread safe, but I hope you dont access same mappoint instance from more than 1 thread, or does not call some methods from within a different thread context that the thread that created mappoint (normally UI thread). |