View Single Post

  #8 (permalink)  
Old 02-20-2004
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I THINK I FOUND A SOLUTION !!!

This is my solution for the "Server busy" bug in MapPoint2004
but, you got to recompile your own MFC42.DLL.....

Juste modify[list=1]

In :

COleMessageFilter::COleMessageFilter()

Replace :

m_nRetryReply = 10000; // default is 10 sec
m_nTimeout = 8000; // default is 8 sec

with :

m_nRetryReply = 120000; // FC : Workaround = 120 sec
m_nTimeout = 1000; // FC : Workaround = 1 sec

and...
in :

STDMETHODIMP_(DWORD) COleMessageFilter::XMessageFilter::MessagePending(
HTASK htaskCallee, DWORD dwTickCount, DWORD )


replace :

// show not responding dialog
pThis->OnNotRespondingDialog(htaskCallee);
pThis->m_bUnblocking = FALSE;

With :

pThis->m_bUnblocking = FALSE; // FC : Workaround
return PENDINGMSG_CANCELCALL; // FC : Workaround


Rebuild MFC42.DLL

put your new MFC42.DLL in Mappoint.exe directory...

That's all folks....

Fabrice
Reply With Quote