Is there a way to catch windows messages within word (I tried overriding WinProc… no go)? I have a word VSTO plug-in that I’m trying to communicate with externally… ideally I would like to post a message from one application, catch that message in word, and then perform the appropriate response…
Is there a way to catch windows messages within word (I tried overriding WinProc…
Share
Avoiding interprocess communication in Word (which is a mess when it comes to privileges with UAC) I came up with my own solution:
I set up a hook within my instance of my word VSTO plugin with SetWinEventHook() (hooking SYS_ALERT) … I simply monitor new windows created (OB_CREATE), if it’s an application that uses the explained camera then I close the currently running graph in DS, freeing the camera and allowing it to be used in the application that has focus. Each of my programs that use the camera will implement this class hook.
Better ideas welcome…