using System; using System.Diagnostics; public class MyApp { private Process [] m_arrProcesses; public static void Main() { // Enumerate processes for the local machine. m_arrProcesses = Process.GetProcesses("."); int nCount = m_arrProcesses.Length; Console.WriteLine("Number Of Processes: {0}", nCount); // Display all the enumerated process names. for (int i = 0; i < nCount; i++) Console.WriteLine("Process: {0}", m_arrProcesses[i].ProcessName); } }Now create the same program using C/C++ with straight API calls and ask yourself will it stick?