Results 1 to 2 of 2

Thread: Terminate a process by name

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Posts
    7

    Terminate a process by name

    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.

  2. #2
    Jeez people, SEARCH THE BOARD FIRST! There are tons of examples, search for TerminateProcess.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width