« Search Tips for Internet Explorer 7 | Main | PeteSearch now on addons.mozilla.org »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83454428269e200e0098939068833

Listed below are links to weblogs that reference BHO Examples:

Comments

Stephen

Pete,

Amazing Posts.

These are by far the most informative and explanatory posts related to creating BHOs I can find online. I cant tell you how much I'm waiting to see how to build a good installer. I've followed you so far through this and I've got PeteSearch building off Visual C Express, and running in my IE7.

Thanks again, and please do post your installer code when you get something up and running.

Also, I haven't looked into it much yet, but how much space does the Boost runtime add to the msi/exe? I've got a BHO written in C# but I want to port it to C++ to save people the 27MB dl for the .NET 1.1 runtime. Is Boost any better on the size front?

Thanks,
Stephen

Stephen

Pete,

One other question? Have you found a solution to the IE reload detection problem? As you probably are finding out, the DocumentComplete event is not fired on Reload/Refresh actions. How are you going about capturing a Reload? I've seen many elaborate schemes that include catching downloadbegins, downloadcompletes with counters, semaphores, and threads with a lot of Sleep calls in them, but i haven't found any that get the job done.

Thanks,
Stephen

Pete Warden

Thanks Stephen, it's great to hear this is helping!

When building a 'minimum dependency' release build (which should statically link as much as possible into the DLL), PeteSearch is around 280k. It was 20-30k before I added boost I think, so it's not too bad. I need to verify that I haven't introduced any other dll dependencies I'll also need to install, but I've tried to avoid that.

And yes, I'm dreading the DocumentComplete handling on refresh! I don't have a good handle on that yet, but I get the feeling it will be interesting, to say the least.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment