Launch IE with specific BHO enabled
Posted
by watsonmw
on Stack Overflow
See other posts from Stack Overflow
or by watsonmw
Published on 2010-05-12T00:13:47Z
Indexed on
2010/05/12
0:34 UTC
Read the original article
Hit count: 379
I have a IE BHO plugin that I only want to be enabled when the user launches IE from my program (The program start IE using CreateProcess()
).
I don't want this BHO to be enabled when a user launches IE from outside my program, as that would mean any problems in the BHO could potentially mess up the user's normal browsing experience.
What's the best way to do this?
One way would be to register the BHO, launch IE and then quickly unregister the BHO. This seems kind of messy though, as a crash in the program that launches IE could cause the BHO to remain registered.
© Stack Overflow or respective owner