GetProcesses in C++
-
Hi, in C# it's possible to get a handle to a process by doing: Process[] p = Process.GetProcesses(); and checking each process in 'p' to find a specific one by its using 'ProcessName' property. Does someone now how to that in C++ to search for a specific process ? Thanks a lot ! Pat.
p.f. Goudjo-Ako Bringing our energy together !
-
Hi, in C# it's possible to get a handle to a process by doing: Process[] p = Process.GetProcesses(); and checking each process in 'p' to find a specific one by its using 'ProcessName' property. Does someone now how to that in C++ to search for a specific process ? Thanks a lot ! Pat.
p.f. Goudjo-Ako Bringing our energy together !
In managed C++ you do it the same - it's the same .NET Process class. Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
-
Hi, in C# it's possible to get a handle to a process by doing: Process[] p = Process.GetProcesses(); and checking each process in 'p' to find a specific one by its using 'ProcessName' property. Does someone now how to that in C++ to search for a specific process ? Thanks a lot ! Pat.
p.f. Goudjo-Ako Bringing our energy together !
Assuming that you mean in standard C++, you're in the wrong forum.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )