Find handle of the AddIn application

Add-in Express™ Support Service
That's what is more important than anything else

Find handle of the AddIn application
 
Guest


Guest


Hallo,

I have following problem:

For IPC (Inter Process Communication) I need the handle of my AddIn application.

How can I get it (Me.Handle doesn't exist in the AddIn and the handle of Outlook doesn't work with IPC).


Thanks
Posted 26 Aug, 2005 09:28:18 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi.

An add-in doesn't have the handle because it is just a COM object that is loaded to a host application process. You can use the Microsoft.Office.Core.COMAddIn.Object property to access your add-in (to get an active instance of Outlook you can use the GetActiveObject method of the Marshal class).
Posted 30 Aug, 2005 00:54:05 Top