Count Instances of Process or Application in C/C++Hits: 1473
This article describes how to count the number of instances of a process that are currently running on the system. It is written in C++ for Windows, but could be ported to other systems and languages easily. (Linux, Visual Basic/VB, C, Unix, MacOS) The system just needs to support interprocess semaphores. The idea can be extended to count any resource, such as a thread, file, data structure, or network object.
Platform(s): Windows
Date: Oct, 20 2006 Author: Shailesh Humbad, http://www.somacon.com/p112.php {
Ratings}Number of Ratings: 67 Votes
Visitor Voting Booth:
|