试试这个:(注意uses TLHelp32)<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>var<br> lppe: TProcessEntry32;<br> found : boolean;<br> Hand : THandle;<br>begin<br> Hand := CreateToolhelp32Snapshot(TH32CS_SNAPALL,0);<br> found := Process32First(Hand,lppe);<br> while found do begin<br> ListBox1.Items.Add(StrPas(lppe.szExeFile));<br> found := Process32Next(Hand,lppe);<br> end;<br>end;<br>