|
-
August 26th, 2008, 01:30 PM
#1
How to raise a event across App domain?
Hi there,
My main thread is a windows GUI.
inside, I create many app domains. I want to raise a event inside app domains and show sth on the GUI.
I tried make the even handle Serializable, but that is MarshalByValue, right?
it does not work.
Now my solution is pass the even handle as ref to the method(which is ugly)
is there any good way to do it?
Thanks
-
August 26th, 2008, 02:14 PM
#2
Re: How to raise a event across App domain?
objects cross appdomains through remoting. however events don't work well with remoting, so most likely you'll be left to implement something on your own (WCF, win32, socket or file based).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|