PC Review


Reply
Thread Tools Rate Thread

cross appdomain talk

 
 
cs
Guest
Posts: n/a
 
      13th Sep 2005
I have an app that uses a thirdpart library, this thirdparty library
creates an appdomain (totally out of my control), this new appdomain
loads some assemblies I created and this code I created needs to talk
back to the first app that started it all.
All the examples of cross appdomain communications I see assume that my
code is creating the new appdomain but thats not the case for me. Is
there a way for my two pieces of code to talk to each other? I know I
can do tcp remoting to 127.0.0.1 but I was hoping there would be
something much simpler!

To make things clearer. Application X on appdomain J loads assembly Y
which creates its own appdomain K, K loads assembly Z which needs to
talk to back to X but X is on appdomain J while Z is on appdomain K. I
have no control over the code on Y.

Thanks for any info!
 
Reply With Quote
 
 
 
 
Jan Bannister
Guest
Posts: n/a
 
      13th Sep 2005
Hi cs,

Regardless of the configuration they easiest way to communicate between
AppDomains is to use a CrossAppDomainDelegate.

If you have no control over one piece os code and it doesn't define a
way of communicating with it then your pretty much stuffed. But that
obviouse really.

Hope that helps,
Jan

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-AppDomain call problems Kai Iske Microsoft Dot NET Framework 5 19th Sep 2006 10:42 AM
Cross AppDomain Communication, Scripting MatthewRoberts Microsoft Dot NET 3 25th Mar 2005 01:00 AM
Cross AppDomain Communication, Scripting MatthewRoberts Microsoft Dot NET Framework 3 25th Mar 2005 01:00 AM
Cross talk =?Utf-8?B?S2VpdGggSG9ja3k=?= Windows XP Configuration 1 14th Jan 2005 10:12 PM
Colors cross-talk: anything can be done about it? Arie Kazachin Scanners 0 31st Aug 2004 08:17 PM


Features
 

Advertising
 

Newsgroups
 


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