Application crash when running under Standard User Analyzer RRS feed

  • Question

  • I am a software developer working on a C++/ATL application that uses the IE browser.

    I have tried testing my application under the Standard User Analyzer (which works quite well in a standard user account as far as I can tell), but for some reason it crashes when running under the SUA.

    By attaching the Visual Studio debugger, I can see that I am getting back an E_ACCESSDENIED HRESULT from CoGetClassObject on line 344 from occsite.cpp (an MFC/ATL class).

    This in turn, leads to a NULL being returned from the call to m_wndBrowser.GetControlUnknown() on line 930 of dlgdhtml.cpp, which causes a crash on the subsequent line.

    When the app is launched normally, (not from SUA), the same CoGetClassObject call returns an S_OK HRESULT.


    Thursday, December 7, 2006 5:57 PM