PDA

Click to See Complete Forum and Search --> : Terminate a process by name


warp75
Jul 25th, 2001, 03:22 PM
I have two processes (called through one .exe) that run through my GUI. When I call the terminate process (in the case that the GUI is shutdown prematurely), I only have the handle code for one of the processes. How can I get a handle code for a process for which I only know the name? OR...

When I call CreateProcess, if I don't use an extra runtimeapp.exe, the ms-dos window shows as it's sending output to my textbox. Is there a way to hide this window with the CreateProcess command.

I'll take either answer. THanks.

filburt1
Jul 25th, 2001, 03:23 PM
Jeez people, SEARCH THE BOARD FIRST! There are tons of examples, search for TerminateProcess.