The dll problem is fixed (forgot to include the target:library in csc.
But
the server name problem is still there.? Also, I thought the point of
the
General assembly in the code, was that you did not have to copy the
server
code to the client or client code to the server and you just use the
General.dll on both the client and server sides.
Any suggestions would be appreciated.
regards
James
"JamesK" <ja****@pacific.net.au> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
This is one of my first postings in this forum, so I do apologize if I have the posting wrong here.
Thank you so much for responding to my previous posting. I have a problem with converting server.cs into a dll(which is not provided with the download code) though. When I try and make a dll it complains that it needs an entry point. I would rather just have a normal public constructor than the public static void main(string[] args) one, because I am instantiating it from another class. If I try and compile a VS.NET C# solution that has more than one entry point the compiler complains.
Would anyone have a further suggestion to this?
with regards
James
Make sure that the server.dll is copied in the clients bin directory as well.
[userName]
In article <em**************@tk2msftngp13.phx.gbl>,
ja****@pacific.net.au says...Hi there everyone,
Has anyone downloaded and been able to get Ingo's code in the last part
of chapter 6 of his book "Advanced .NET Remoting" to work?
I am having an exception problem in the EventListener class (p.194).
System.IO.FileNotFoundException: File or assembly name Server, or one ofitsdependencies, was not found. This is the same error as was givenin
the previous example, and was supposed to be solved in the revised code.
I have changed all the mains(string[] args) to public constructors
because Iam running the classes inside another class. One VS.NET C# solutionfor theserver and one for the client. I also have all the ports set to
IPADDRESS:8080.
with regards
James
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!