Invoke BHO function from menu item
-
25-06-2021 - |
سؤال
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:
- How do I invoke a BHO function from a menu item in in my tools menu?
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.
المحلول
And someone has done the interop for you.
لا تنتمي إلى StackOverflow