Hi!
Any communication across AppDomains involves remoting (typically).
Since the client and the host are in different AppDomains, in order to
reference objects across them, you will need to have objects of classes that
are remoteable, deriving them from MarshalByRefObject. This shall result in
case of the a proxy created in the callers AppDomain. And you dont have to
do anything special for this, except for having the class derive from
MarshalByRefObject.
Alternately, tagging them as Serializable, or implementing ISerializable
will make them go across by value instead of reference.
Regards,
Gaurav Khanna

Signature
----------------------------------------------------------------------------
----------
Microsoft MVP - .NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/
----------------------------------------------------------------------------
----------
> Hi,
>
[quoted text clipped - 13 lines]
> Thanks,
> Ron
Ron Bullman - 27 Jul 2003 05:01 GMT
Hi Gaurav,
Just deriving from the MarshalByRefObject, will do the trick. Cool!
Ron
> Hi!
>
[quoted text clipped - 42 lines]
> > Thanks,
> > Ron