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

This is a discussion on how can i find out a process is being used by onother one ? within the Windows Programming forums, part of the Platform Specific Boards category; hello all, i have 2 questions , 1.how can i get the current running process ( services) ? ( using ...

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

    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
    1,534
    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.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  3. #3
    بابلی ریکا Masterx's Avatar
    Join Date
    Nov 2007
    Location
    Somewhere nearby,Who Cares?
    Posts
    492
    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

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