none
IXMLDOMDocument throws kernal exception while invoking Load method-Elevated Applciaiton in vista. RRS feed

  • Question

  •  

    Foo some reason I want to elevate privileges of my application, to run it using Standard user in Administrator Group. I have written code line to activate DOMDocument class of msxml and call Load method to load an customized xml file with some properitery extension. I am xml component in process  using

    HRESULT hr = pDoc.CoCreateInstance(__uuidof(DOMDocument),NULL,CLSCTX_INPROC_SERVER);

    Hence the component is loaded in the process.

     

    But I am getting an exception whenever I am adding an additional manifest to it with 'requireAdministrator' as request execution level.

    Can anybody give me some input on this problem?

    What am I missing here?

    -Thanks in advance.

    Friday, August 1, 2008 6:49 AM

Answers