PID by Processname

This is a discussion on PID by Processname within the Windows Programming forums, part of the Platform Specific Boards category; hello guys, I have a short question, I am making a killprocess() function by processname, therefor I need to get ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Location
    The Netherlands
    Posts
    91

    PID by Processname

    hello guys,
    I have a short question,
    I am making a killprocess() function by processname, therefor I need to get the PID of the process by the process name, is there a function like process_id = PID("bla.exe"); or something close?

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. crazy pipe/fork
    By fortune2k in forum C Programming
    Replies: 8
    Last Post: 03-13-2009, 12:28 PM
  2. wrong pid with GetWindowThreadProcessId?
    By electrohippi in forum Windows Programming
    Replies: 2
    Last Post: 11-11-2008, 08:54 PM
  3. A small question about fork( )
    By mlhazan in forum C Programming
    Replies: 4
    Last Post: 08-13-2008, 09:18 PM
  4. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 05:02 PM
  5. process info from PID
    By mihaa in forum Linux Programming
    Replies: 3
    Last Post: 12-12-2007, 09:31 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21