OleUninitialize hang for 10 secs
From: Bob Smith (anonymous_at_discussions.microsoft.com)
Date: 09/16/04
- Next message: Jim K: "Re: How to get a PIDL from a WebBrowser control"
- Previous message: Tristan Leask: "Print with control"
- Next in thread: Louis Solomon [SteelBytes]: "Re: OleUninitialize hang for 10 secs"
- Reply: Louis Solomon [SteelBytes]: "Re: OleUninitialize hang for 10 secs"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Sep 2004 04:06:37 -0700
Hi,
I have developed an application that uses the web browser
control using MFC and the ActiveX wrapper.
The OS is XP + SP1.
The browser class is CDialog based and the browser dialog
is shown as modal numerous times when the application is
running.
The DoModal call is something like this:
{
CBrowserDlg browserDlg;
...
hRes = OleInitialize(NULL);
nRet = browserDlg.DoModal();
OleUninitialize();
}
The problem I have is that after the system has been
running for a while the call to OleUninitialize hangs for
exactly 10 seconds. After this point it is reproducible,
even if the system is rebooted! I have some MFC timers in
use but these are always killed in my DestroyWindow
override.
Any ideas?
Cheers,
Bob
- Next message: Jim K: "Re: How to get a PIDL from a WebBrowser control"
- Previous message: Tristan Leask: "Print with control"
- Next in thread: Louis Solomon [SteelBytes]: "Re: OleUninitialize hang for 10 secs"
- Reply: Louis Solomon [SteelBytes]: "Re: OleUninitialize hang for 10 secs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|