Nico van Wijk
Jul 3rd, 2000, 10:34 AM
Hello,
I have a problem to close a program that runs in Windows. The program isn't visseble in a window, but a know it's on the background.
With a windows api I check wich programs are active, and I see that program. I try to close the program: I find the applications and want to close it with (RetVal = PostMessage(winHwnd, WM_CLOSE, 0&, 0&).
It doesn't work, I think it won't work because the program is not in a window but at the background.
Does anybody the answer?
I have a problem to close a program that runs in Windows. The program isn't visseble in a window, but a know it's on the background.
With a windows api I check wich programs are active, and I see that program. I try to close the program: I find the applications and want to close it with (RetVal = PostMessage(winHwnd, WM_CLOSE, 0&, 0&).
It doesn't work, I think it won't work because the program is not in a window but at the background.
Does anybody the answer?