How to prevent the OLE Server Busy dialog box from appearing during a lengthy COM operation (248019)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q248019 Note Microsoft Visual C++ .NET (2002) supports both the managed code
model that is provided by the Microsoft .NET Framework and the unmanaged native
Microsoft Windows code model. The information in this article applies only to
unmanaged Visual C++ code. SUMMARY If you call a method on a COM server from an MFC COM client
application and if the method takes a long time to process and return back, you
won't be able to do anything on the client application and the OLE Server Busy dialog box pops up. This article explains how you can increase
the time-out period of the COM call and also shows you how to avoid this dialog
box. REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
179692
An HRESULT of 0x80010005 error occurs when you try to call methods on a COM server in Visual C++
For additional information,
see the following Microsoft Developer Network (MSDN) Web sites:
Modification Type: | Major | Last Reviewed: | 9/2/2005 |
---|
Keywords: | kbOLEApp kbArchitecture kbAutomation kbDCOM kbhowto KB248019 kbAudDeveloper |
---|
|