Please point me to an appropriate (managed MSDN) newsgroup if this group is inappropriate.
On Vista Beta 2: We have an IE BHO implemented in an in-process DLL. This BHO calls CoCreateInstance() to create an object implemented in an out of process COM service. The COM service is running under the local system account, and calls CoInitializeSecurity() to allow anonymous local access. In limited / protected mode IE CoCreateInstance() fails with an access denied error, and the NT eventlog shows a DCOM error stating a problem with the object launch permissions.
I tried to implement the "Elevating Broker Processes" section described in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ProtectedMode.asp but it still fails. The document is not clear (or I don't understand) so I tried using the CLSID of the BHO in-proc object and of the out-of-proc COM object, neither worked.
How can we modify our code to successfully create the out-of-process COM object from within an in-process BHO in limited mode IE (examples would be great)?
Btw., I also notice that OutputDebugString() fails to generate any debug output. How can we generate debug output from within an in-process BHO in limited mode IE (other than writing to the \low disk folder)?
Regards Pieter

Limited Rights IE and BHO problem
So is this something that worked with Windows XP and now does not work with Internet Explorer 7's protected mode? It is unclear from your description.
What are you trying to do with the com object that you need to elevate for?
"Pieter" wrote in message
Please point me to an appropriate (managed MSDN) newsgroup if this group is inappropriate.
On Vista Beta 2: We have an IE BHO implemented in an in-process DLL. This BHO calls CoCreateInstance() to create an object implemented in an out of process COM service. The COM service is running under the local system account, and calls CoInitializeSecurity() to allow anonymous local access. In limited / protected mode IE CoCreateInstance() fails with an access denied error, and the NT eventlog shows a DCOM error stating a problem with the object launch permissions.
I tried to implement the "Elevating Broker Processes" section described in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ProtectedMode.asp but it still fails. The document is not clear (or I don't understand) so I tried using the CLSID of the BHO in-proc object and of the out-of-proc COM object, neither worked.
How can we modify our code to successfully create the out-of-process COM object from within an in-process BHO in limited mode IE (examples would be great)?
Btw., I also notice that OutputDebugString() fails to generate any debug output. How can we generate debug output from within an in-process BHO in limited mode IE (other than writing to the \low disk folder)?
Regards Pieter
Josh
This setup works on XP, and it works on Vista in normal mode IE.
The BHO is a shim primarily responsible for UI and IE state control, and it talks to an out-of-proc COM service that does all the "real" (can't tell) work. On Vista protected mode IE the CoCreateInstance() of the out-of-proc COM object fails. This is what I am trying to solve.
Regards Pieter
"Josh" wrote in message
So is this something that worked with Windows XP and now does not work with Internet Explorer 7's protected mode? It is unclear from your description.
What are you trying to do with the com object that you need to elevate for?
"Pieter" wrote in message Please point me to an appropriate (managed MSDN) newsgroup if this group is inappropriate.
On Vista Beta 2: We have an IE BHO implemented in an in-process DLL. This BHO calls CoCreateInstance() to create an object implemented in an out of process COM service. The COM service is running under the local system account, and calls CoInitializeSecurity() to allow anonymous local access. In limited / protected mode IE CoCreateInstance() fails with an access denied error, and the NT eventlog shows a DCOM error stating a problem with the object launch permissions.
I tried to implement the "Elevating Broker Processes" section described in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/IETechCol/dnwebgen/ProtectedMode.asp but it still fails. The document is not clear (or I don't understand) so I tried using the CLSID of the BHO in-proc object and of the out-of-proc COM object, neither worked.
How can we modify our code to successfully create the out-of-process COM object from within an in-process BHO in limited mode IE (examples would be great)?
Btw., I also notice that OutputDebugString() fails to generate any debug output. How can we generate debug output from within an in-process BHO in limited mode IE (other than writing to the \low disk folder)?
Regards Pieter
Windows Vista
User login
Related topics
- Slow performance - 82801FR Driver Problem?
- Can See my network, Cant Browse Internet
- Processor Speed and IE Issue
- Vista NTFS Version
- Will upgrading affect user accounts?
- publish /upload pictures on external site no more available
- BUG?: Outlook 2003 context menu in start bar
- connecting to wireless router ?
- Problem Detecting PCI E Video Card
- A problem with this very forum
- Wont "save" settings
- Product ID Key
- Wrong number of e-mails in total displayed
- OT: Firefox -Using same bookmarks under...
- UAA Requirements
- doing a clean install of vista frm xp prosp2
- Only Work in Safe Mode
- Media Center - Performance Horrendous
- Can't select multiple files from the default Download folder
- downloading vista beta 2 problem
- can't boot from xp cd anymore, ntldr missing
- VNC Server
- Vista Impression
- product key for vista beta 2
- Anyone have any dial-up modems that work on Vista?
- Vista Upgrade : Unable to login
- cannot validate product key - invalid key???
- Apple 23" / ADC to DVI adapter / GeForce FX 5200
- Connecting to XServe from Vista
- wininit.exe