Does this help?

http://blogs.msdn.com/suzcook/archive/2003/06/12/57169.aspx

laters,

Helen

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of J. Merrill
Sent: Thursday, October 12, 2006 2:18 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create

Do you have any way, now, to communicate between the AppDomains?  If so, you
could have each pass its name to the other one.  (The one named for you
Manifest file could just use DefaultDomain as the name of the other,
couldn't it?)  Or is the problem that you can't move stuff between them
w/out the AppDomain reference?

At 02:09 PM 10/12/2006, Dean Cleaver wrote
>Phil, my application is an Outlook Addin with some COM User Controls
>that Outlook loads into html in a folder. It creates one AppDomain with
>the name of my Addin assemblies Manifest file, and one domain called
>"DefaultDomain" for the COM controls. I have no control over creating
>these AppDomains.
>
>What I'm actually trying to do is get around a Remoting problem where
>one AppDomain can remote to the server, but the other can't - but all my
>attempts are failing so far.
>
>-----Original Message-----
>From: Discussion of advanced .NET topics.
>[mailto:[EMAIL PROTECTED] On Behalf Of Phil Sayers
>Sent: Friday, 13 October 2006 06:04
>To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
>Subject: Re: [ADVANCED-DOTNET] Get an AppDomain you didn't create
>
>can't you name the appdomains when you applications each startup ...then
>you have a name to use when you reference one from the other.
>
>
>-----Original Message-----
>From: Discussion of advanced .NET topics.
>[mailto:[EMAIL PROTECTED] Behalf Of Dean Cleaver
>Sent: Thursday, October 12, 2006 1:05 PM
>To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
>Subject: [ADVANCED-DOTNET] Get an AppDomain you didn't create
>
>
>I've got a situation where my application is being loaded into 2
>AppDomains, and I would like to call into one from the other - but I am
>not creating either one, so have no AppDomain object to work with - is
>there a way to get a reference to another AppDomain if you know it's
>name?
>
>Dino


J. Merrill / Analytical Software Corp

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to