Thread: PID by Processname

  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, 11:28 AM
  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, 08:18 PM
  4. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 04:02 PM
  5. process info from PID
    By mihaa in forum Linux Programming
    Replies: 3
    Last Post: 12-12-2007, 09:31 AM