|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IPC Remoting not working properlytrying to communicate with eachother by using IPC to connect from one to the other (A->B and B->A), B->A is working fine, but A->B is not working, I'm catching an exception when it tries to call a method defined in a shared interface that's saying "Could not load file or assembly 'AssemblyB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=99eb5f1db5441bcf' or one of its dependencies. Now here is the real kicker. It works great if I host the AssemblyB remoting interface in an EXE style assembly, but not in a DLL hosted by Explorer.exe. This is a deskband meant for the task bar, and it needs to receive updates from the other assembly..... Here is some sample code: IDictionary properties = new System.Collections.Hashtable(); properties["portName"] = "Deskband_" + Shared.Common.NormalizedUsername; properties["authorizedGroup"] = "everyone"; localChannel = new IpcChannel(properties, null, null); ChannelServices.RegisterChannel(localChannel, false); RemotingConfiguration.RegisterWellKnownServiceType(typeof(BandRemotingService), "Remoting", WellKnownObjectMode.Singleton); If you can help me fix this, you can have my first born!!! (just kidding) Thanks in advance!
Other interesting topics
|
|||||||||||||||||||||||