Hello, I have several Mono applications that runs on the machine, under different user account. I wanted to use DBus to allow them to communicate to each other.
The main application register an object on the DBus System Bus. THis object contains methods to add information. Each method raise an event, so each application taht got this object on the DBus system bus are aware that new information is available. But I got this error message: System.ArgumentException: GCHandle value belongs to a different domain at System.Runtime.InteropServices.GCHandle.op_Explicit (IntPtr value) [0x00000] at DBus.Message.set_RawMessage (IntPtr value) [0x00000] at DBus.Message.Dispose (Boolean disposing) [0x00000] at DBus.Message.Dispose () [0x00000] at Platine.Plugins.DBus.DBusEvent.SignalProxy.Proxy_OnNewEvent (System.String eventName, System.String username, System.String value) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string_string_string (string,string,string) at Platine.Plugins.DBus.DBusEvent.AddEvent (System.String eventName, System.String username, System.String value) [0x00000] at _Default.SendEvent (System.String eventName, System.String value) [0x00000] at _Default.Page_Load (System.Object sender, System.EventArgs e) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) Indeed, the object is shared by different domains. Am I wrongly using DBus? Thank you Julien _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list