I have written a native c++ dll that implements CePimCommand, and set up
all the required registry entries and it appears as part of the Pocket outlook
Contacts menu as an additional menu item.
I want this dll to invoke a managed method whenever the user selects the
newly added menu item. Setting up a callback with a managed delegate wouldn't
work as this dll is used by Outlook.
I want to pass the window handle of the MessageWindow from the managed c#
app, to this c++ dll but do not know how. Once the C++ dll has the hadle,
the native app can send messages on the handle and the managed app captures
them with MessageWindow.
I have looked at various forums archives and could not come up with a clear
understanding of this process.
Any help with a little code sample will really help me.
Regards to all.
|