Is there an API to view all running processes?

Thanks

Hi,

Depends on what OS you are working with. Processes belong to the Operating System, not to the C++ environment.

For example, I could look at my linux processes by making a system call to the OS, and asking it to execute the PS command.

Christian

Im working with Windows XP. I found a code example on msdn but it was for .NET and im using DevC++.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.