![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: communications, crossdomain, question |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I am developing a C# Outlook addin for .NET 1.1. I display some part of plugin's GUI in a "web view" folder (Outlook allows to specify custom HTML pages for its folders, contents of these pages is shown when user selects such a folder). My GUI is implemented as an ActiveX control that is loaded in the HTML set for the custom folder (via "object" tag). So, the scenario is the following: Outlook starts the addin, it is initialized. Then user goes to the special custom folder and sees the plugin's GUI. It all worked fine when my addin was working without the unmanaged shim (both addin and ActiveX were loaded into the default application domain). After I introduced shim (for the purposes of security), Addin is loaded into its own application domain and ActiveX is still loaded into the default domain. So, it stopped working as it is now impossible to exchange information between the domains (ActiveX relies heavily on the addin, it subscribes to its events, addin also subscribes to events of the ActiveX, a lot of data is transferred between these two). I know data can be marshaled, but still have no idea how to marshal events or objects that are not inherited from MarshalByRefObject. Is there any way to load ActiveX in the same domain as the addin itself, or are there any other ways to establish communications between the addin and the ActiveX? --- Yury Kudryashov |
| Ads |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please help with returned emails from new domain | JM | Outlook - General Queries | 7 | March 14th 06 04:06 PM |
| blocking email using only the domain suffix | fireman175 | Outlook - Installation | 7 | March 6th 06 12:40 AM |
| 31 day view should allow (x or/) to cross off prev days | mattfromcostamesa | Outlook - Calandaring | 0 | February 25th 06 03:30 PM |
| How to delete e-mails and not just cross them out? | Sergio | Outlook - Installation | 1 | February 16th 06 10:59 PM |
| User joined domain but cannot get e-mail | Johnny Rio | Outlook - Installation | 0 | January 10th 06 06:00 PM |