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

Posted on 2004-11-27
Last Modified: 2013-11-20
Hello All,

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

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

Question by:sudhakar_koundinya
    LVL 86

    Accepted Solution

    You coud use

    COleMessageFilter* p = AfxOleGetMessageFilter( );

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

    Author Comment

    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??
    LVL 14

    Author Comment

    LVL 86

    Assisted Solution

    Sorry for the delay :o)

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


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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Suggested Solutions

    Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    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.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now