ricardoespsanto
ricardoespsanto

Reputation: 1110

Invoke BHO function from menu item

Ok, I'm feeling a bit out of water here. It's been a while since I got my hands on C# and I'm all about java so the .NET platform, windows stuff is all greek to me but nevertheless I got this challenge at hand and now I'm faced with a troubling question:

I've managed to skip from tutorial to tutorial and implemented a BHO that registers a menu item under 'tools' and I need it to just call one function from my BHO code.

I read that I'm supposed to implement this interface IOleCommandTarget but I can't find it, I have no idea what to reference...

Any help is highly appreciated.

Thanks in advance.

Upvotes: 0

Views: 200

Answers (1)

i_am_jorf
i_am_jorf

Reputation: 54600

IOleCommandTarget.

And someone has done the interop for you.

Upvotes: 1

Related Questions