473,382 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

List Of running processes

Hello,

How to get the list of running processes in VC++ (Similar
to Task Manager->Processes window)

Regards

Leonid
Nov 16 '05 #1
1 2389
"Leonid" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl...
How to get the list of running processes in VC++ (Similar
to Task Manager->Processes window)


Check the docs for Process32First() and Process32Next() which enumerate the
processes running at the time a "snapshot" of the system was taken.

If you want to enumerate "applications" rather than processes you can use
EnumWindows() to get a list of top-level windows in the system and, if
necessary, GetWindowThreadProcessId() to map a window to a process.

Regards,
Will
Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ron | last post by:
I've written a screen saver which opens multiple copies on windows 98. I'm trying to check the process list to determine if it is already running. So far all the example win32 routines I've...
5
by: Roger | last post by:
I would like to get a list of running processes on a remote machine. How is this possible via VB.Net? Is it possible? Can someone point me in the right direction. thanks, rog
1
by: Al Sav | last post by:
Hello, I am trying to find the file location and file names of all the processes that I see in windows task manager. How can I list all the exes that are running currently? Thanks in advance,...
2
by: Ramona | last post by:
Hello to all, I tried to find out which applications are running but get only the running processes. Dim p As Process For Each p In Process.GetProcesses Debug.WriteLine(p.ProcessName) Next ...
2
by: masterra | last post by:
Hello all! I am trying to create a replacement task bar for windows (don't ask why..) in C#, and have run into some troubles. I am aware that i can get a list of running processes (using...
1
by: JezB | last post by:
I want to iterate the process list looking at the processes running for the current user. So I'm using: foreach (Process p in Process.GetProcesses()) { } But I can't see any method or...
5
by: writeson | last post by:
Hi all, I'm wondering if anyone has tried a scenario that I'm thinking of. At my job we've got a web based product provided by Apache running PHP that accesses MySQL. This web application is...
16
by: Michael M. | last post by:
How to find the longst element list of lists? I think, there should be an easier way then this: s1 = s2 = s3 = if len(s1) >= len(s2) and len(s1) >= len(s3): sx1=s1 ## s1 ist längster
6
by: happiness4all | last post by:
how to get list of pid of all processes running on the system using c++ in windows???
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.