I have two vc++ applications that communicate using a
named pipe. I would like to send some local variable
values down the pipe from the client to the server. At
present the only way I have achieved this successfully
is to convert the values to one long character string. As I have encapsulated the variables into a container class, I would like to pass the whole container object by value down the pipe. How do I do this? Is there an easier/better method than using pipes?