A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

Cross-domain communications question





 
 
Thread Tools Display Modes
  #1  
Old February 22nd 06, 05:47 PM posted to microsoft.public.outlook.program_addins
Yury Kudryashov
external usenet poster
 
Posts: 2
Default Cross-domain communications question

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 01:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Loans - Buy Anything On eBay - Remortgage - Samsung - Death Note Episodes