Thread: how can i find out a process is being used by onother one ?

  1. #1
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497

    how can i find out a process is being used by onother one ?

    hello all, i have 2 questions ,
    1.how can i get the current running process ( services) ? ( using net user would do it? )
    2. how can i find out how many processes are using a specific service or process
    and how to kill them! ?
    ( i ask this because i want to find a way to cope with some usb flash disk viruses )
    and i want to make a console application , no GUI , so i want to keep it simple as much as possible
    tanx alot
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


  2. #2
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    I wanna say processes and services are completely seperate (not to say they can't interact through a medium).
    If it's possible, I'm guessing it won't be easy.

  3. #3
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    497
    tanx yarin.
    Highlight Your Codes
    The Boost C++ Libraries (online Reference)

    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.."
    Bill Bryson


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. Replies: 3
    Last Post: 10-15-2008, 09:24 AM
  3. Retrieving binary file name from a process
    By maxhavoc in forum Linux Programming
    Replies: 5
    Last Post: 04-12-2006, 02:50 PM
  4. passing a connection to another process.
    By Kinasz in forum Networking/Device Communication
    Replies: 3
    Last Post: 10-09-2004, 05:34 PM
  5. Replies: 12
    Last Post: 05-17-2003, 05:58 AM