[Mono-list] Events using Remoting
Mon, 29 Nov 2004 11:23:52 +0100
A simple console application that demonstrates the error would be really
useful to understand what's the issue.
Does it work with MS.NET? if it does, it is probably a bug in mono, and
you should file a bug report in bugzilla.ximian.com (including the test
On dj, 2004-11-25 at 18:06 +0100, Andrés Otón wrote:
> I have a problem using events with MarshalByRefObject classes. I explain it:
> I have two programs server and client and one lib to share something classes.
> At lib I have the abstract class A : MarshalByRefObject. The server
> register at http channel this class and implement it.
> The client get this class from server. This class A has a method to
> get a second class B, this is public abstract at common lib and
> MarshalByRefObject. Well at client I have a delegate, that is declared
> type at lib, that link with a method at client. To this point all
> works. B has a event and when the client execute:
> b.event += delegate;
> I get a exception error that say Couldn't bind to method 'xxxx', where
> the method xxxx is the method of the client that is linked with the
> I hope that my problem can be understand because my english is very poor ;-).
> Thanks by all.