Re: IOleCommandTarget implementation not called

Tech-Archive recommends: Speed Up your PC by fixing your registry



callum <callum@xxxxxxxxx> wrote:
I'm trying to catch script errors in my (ATL based app) that embeds a
Web browser using the IWebBrowser2 interface. My application class
derrives from IOleCommandTarget and I've written my own implementation
for IOleCommandTarget::Exec (and IOleCommandTarget::QueryStatus) but
they're not called. I've done quite a lot of searching - evidently
this is something a lot of people have run into - but I didn't find an
answer that worked for me.

http://www.codeverge.net/item.aspx?item=42761
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.