![]() ResetEvent is what I can see only a way for syncronicing threads? But in this case there is nothing more for the UI thread to do in Instance1 becides responde on GUI manipulation(if there is a GUI) so there is not really a clear location to halt/block the The Instance1 WCF host will get the message and now we need the main UI to take over the operations that we need to do(maby create and open a Winform).A secon Instance(Instance2) of the application is started, this application contacts Instance1 and sends a message to it.No the current instance do nothing more then responde on GUI manipulation(when there is a GUI) from the end user.Start application > Main UI thread sets som settings and opens the namedpipe host in instance1.But I do think that you are still not understanding my solution/problem.
0 Comments
Leave a Reply. |