Cross Program Serialization
-
Hi, I've got 2 programs that share a common class StatusWrapper. This class contains a private class of statusobjects. In program 1 I am creating a socket, and allowing you to connect on a specific port, then request a StatusWrapper information block. In program 2 I connect to the port that program 1 has created, and make the request for the object. Program 1 then serializes this object, and transmits it on the socket to program 2. I cannot get program 2 do deserialize the object as it is reporting an exception that the assembly for program 1 cannot be located. How can I send data like this across to programs? Please help
-
Hi, I've got 2 programs that share a common class StatusWrapper. This class contains a private class of statusobjects. In program 1 I am creating a socket, and allowing you to connect on a specific port, then request a StatusWrapper information block. In program 2 I connect to the port that program 1 has created, and make the request for the object. Program 1 then serializes this object, and transmits it on the socket to program 2. I cannot get program 2 do deserialize the object as it is reporting an exception that the assembly for program 1 cannot be located. How can I send data like this across to programs? Please help
Did you copy the class StatusWrapper, or is it in an assembly referenced by both application?