I have an applicaion in Winform and this application is launched from cmd. I want to launch my winform application once and like to send messages to winform application. Also, when I like to close my winform application from cmd.
I have written the Winform application in C#.
Please guide me.
Thanks in advance.
-Harsha
I think you should use function FindWindow and SendMessage. Also you should overide WindProc in your C# application to process input messages.