CoCreateInstance with low privliges

hello,

I want to open a new internet explorer by COM, but I want the IE to be opened with low privliges (the caller has medium privliges).

How can I do this?

code:

CComPtr<IWebBrowser2> spWebBrowser;
hr = spWebBrowser.CoCreateInstance(CLSID_InternetExplorer, NULL, CLSCTX_SERVER);
hr = spWebBrowser->Navigate(bstrFullUrl, &var, &var, &var, &var);
hr = spWebBrowser->put_Visible(VARIANT_TRUE);

Thanks

[568 byte] By [MeniB] at [2007-12-24]

Software Development for Windows Vista

Site Classified