Hi Patrick,

> for remoting with c#, i get a object reference(objRef) from
> the server, and pass an argument as interface in the objRef
> method, but it get serialization error.

There are some issues when passing Interface-based object references via
Remoting boundaries between multiple servers. However, when working in
mutliple client/single server mode there shouldn't be too many problems.

> Further more, can i pass an object as
> arugment as marshalByRef. I have tried
> but fails. It seem we can only pass
> argument as marshalByValue, why ??

Yes, passing parameters by reference is definitely supported.

If you could send me a ZIP containing a basic example of what you're trying
to achieve, I'll have a look at it and can maybe give you some more hints.

HTH,
-Ingo

Author of "Advanced .NET Remoting"
http://www.dotnetremoting.cc

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to