I am trying to create a program that implements the Singleton pattern.
If another instance of the program is created, I want to send the
information to the first instance and then close the new instance. I
have a couple of different ways of keeping the second instance from
opening up and they seem to work well. However, I am getting stuck
whenever I try to send information from the second instance to the
first instance. I have tried to set up .NET remoting using
IrcServerChanne l and IrcClientChanne l, but I am not sure this is right
because everything I see uses an external object and that doesn't make
sense for what I am doing. Is there any way to do what I need to do?
If another instance of the program is created, I want to send the
information to the first instance and then close the new instance. I
have a couple of different ways of keeping the second instance from
opening up and they seem to work well. However, I am getting stuck
whenever I try to send information from the second instance to the
first instance. I have tried to set up .NET remoting using
IrcServerChanne l and IrcClientChanne l, but I am not sure this is right
because everything I see uses an external object and that doesn't make
sense for what I am doing. Is there any way to do what I need to do?
Comment