hi, all i need to know for now is how to close a windows application, like do the reverse of:
system("sol.exe");
so that instead of opening solitair it closes it
thanks in advance
hi, all i need to know for now is how to close a windows application, like do the reverse of:
system("sol.exe");
so that instead of opening solitair it closes it
thanks in advance
Use FindWindow() and SendMessage() to send a WM_CLOSE message to solitaires message queue.Look at msdn.microsoft.com for more information on these api functions.
Also search these boards.We have done this before recently.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
Also, I think Ken did a prog example of this on the windows board.... do a search on his name over there...you might find something helpful