Porting BHO to Vista



Hi,

I have a BHO that I originally wrote in MSVC 6 that works perfectly in XP with IE 5.5, 6 and 7. Of course, I move it to Vista and IE 7 and now it does not work at all.

In order to try to get it to work, I have rebuilt it with VS 2005 Express and was finally able to get the libraries set up properly such that I was able to get a clean build of it.

I have also added a manifest to it and signed it.

Somewhere there are some gotchas that I am running into with this BHO now. When I run IE, it starts up just fine and nothing seems to be amiss. But when I start the interactive portion of my app that communicates via messages and shared memory with the BHO, IE locks up and just beeps if I click on it. It is running to some extent as I can put other windows on top of it and when I remove them, IE repaints, but I cannot do anything and have to kill the process.

So my questions are thus:

What additional things must I do to get this BHO to run on Vista? I have tried various settings in the manifest, including security settings asInvoker and asAdministrator, but those have not helped.

Given my current build environment, how can I debug into this module? I was able to do so with MSVC 6, but have not been able to figure out how to do so with VS2005 Express. I have tried putting in debugging statements that write to a log file in the APPDATA area so that it has permission to write there, but nothing is getting logged.

Anything else I need to look out for or need to do to get the BHO to run and talk to my app appropriately?

Thank you. If more information is needed, let me know and I will provide whatever is necessary.

Regards,

Rich.
.


Loading