Hello,
I restricted my application to only one instance. When the app is running and the user tries to launch it again, the new instance is not created and Application.Exit() is invoked instead.
Now, here's the problem: just before invoking Application.Exit(), I want to send a string message to the main, running instance. How can I do this with some Win32 API or other managed -more elegant- way? I'd like to avoid .NET Remoting.
Thanks for helping.




Reply With Quote