Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to get rid from the "Serevr Busy" Warning message

Posted on 2004-11-27
4
Medium Priority
?
469 Views
Last Modified: 2013-11-20
Hello All,

In my application,  I am calling MS Outlook. But sometimes I am getting this warning message

http://www.geocities.com/sudhakar_koundinya/error.JPG

So, please let me know how to get rid from this warning???

Thanks
Sudhakar
0
Comment
Question by:sudhakar_koundinya
  • 2
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 12688514
You coud use

COleMessageFilter* p = AfxOleGetMessageFilter( );

p->SetMessagePendingDelay(<some value bigger than 5000>);
p->EnableBusyDialog(FALSE);
0
 
LVL 14

Author Comment

by:sudhakar_koundinya
ID: 12688846
Just one more question.


Is this code same for any OLE based calls??

I mean if I call more than two OLE Servers, Will the same code works for both, irrespective of their registered information??
0
 
LVL 14

Author Comment

by:sudhakar_koundinya
ID: 12708159
helloooooooooooooooooooo
0
 
LVL 86

Assisted Solution

by:jkr
jkr earned 500 total points
ID: 12719179
Sorry for the delay :o)

>>Is this code same for any OLE based calls??

Yes.

>>Will the same code works for both, irrespective of their registered information??

Since there is only one 'COleMessageFilter' per app, the answer is 'yes' also.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question