Hi everyone,
This is an assignemnt I got from the institute I study. It is intended to take in the values of a process ( such as the Process ID or the Process Name ), which can be taken from the Task Manager of Windows 2000/XP, and then return the attributes of that process only, such as the CPU time, Memory Usage, Child Process time and so on.
We've been taught programming in Java for a whole semester and started on C Programming with the Turbo C++ compiler, from this sesmster onwards. I am making an attempt to do the program in C, but I'm stuck on which functions to chose. I heard that my friends are trying to do this in C++ and Visual C++ and I think that would be more feasible. But I need some help on how to get started on C++.
Which function/s in C++ do I need to use, in order to read the process table and also to return the atrributes of the Process the user asked for ?
The books that I referred to say that the process table of Win 2000 or any other for that matter, is a set of structures with one entry for each process. All my program should do is to read this set of structures,isn't it ?
P.S. >> I'm making an honest attempt to get this assignment rolling. I'd really appreciate if anyone of u guys can help me get started on this assignment. Please can you give me any links to such websites that give code for this type of projects, so that maybe I can look at it and learn from that.
Thanks.
This is an assignemnt I got from the institute I study. It is intended to take in the values of a process ( such as the Process ID or the Process Name ), which can be taken from the Task Manager of Windows 2000/XP, and then return the attributes of that process only, such as the CPU time, Memory Usage, Child Process time and so on.
We've been taught programming in Java for a whole semester and started on C Programming with the Turbo C++ compiler, from this sesmster onwards. I am making an attempt to do the program in C, but I'm stuck on which functions to chose. I heard that my friends are trying to do this in C++ and Visual C++ and I think that would be more feasible. But I need some help on how to get started on C++.
Which function/s in C++ do I need to use, in order to read the process table and also to return the atrributes of the Process the user asked for ?
The books that I referred to say that the process table of Win 2000 or any other for that matter, is a set of structures with one entry for each process. All my program should do is to read this set of structures,isn't it ?
P.S. >> I'm making an honest attempt to get this assignment rolling. I'd really appreciate if anyone of u guys can help me get started on this assignment. Please can you give me any links to such websites that give code for this type of projects, so that maybe I can look at it and learn from that.
Thanks.