OleUninitialize hang for 10 secs

From: Bob Smith (anonymous_at_discussions.microsoft.com)
Date: 09/16/04


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



Relevant Pages

  • OleUninitialize hang for 10 secs
    ... 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 ...
    (microsoft.public.win32.programmer.ole)
  • Re: problem with vc++ 6 appwizard
    ... >> I am trying to learn mfc, but whenever I try to compile even an ... > One browser to find them ... > One email client to bring them all ... > And through security holes, ...
    (alt.comp.lang.learn.c-cpp)
  • Starting a HTML file from MFC application
    ... i want to launch a HTML file with a browser from a MFC application. ... Thanks for any clue! ... Kai Sandner ...
    (microsoft.public.vc.mfc)
  • Webapplikation friert ein
    ... bei einer Webapplikation, ... die wir im Intranet einsetzen, friert der Browser bei den Usern (WinXP SP1, ... IE6 SP1 + diverse Patches) sporadisch ein. ... Session-Timeout einen recht niedrigen Wert in der web.config der betroffenen ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Error while loading IE 6 browaser
    ... i have win xp(with SP1) and IE 6.0 installed in my office ... browser, ... is it some type of virus effect or can some changes in the ... system configuration overcome this problem? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)