Forum: Multimedia
Delphi
by Mr_G,
4. Sep 2005
@ SirThornberry: Besten Dank! Nun weiß ich auch was du meinst... :coder:
Forum: Multimedia
Delphi
by Mr_G,
4. Sep 2005
Ich versteh nicht was du mir sagen willst...
P.S.: Hab mich nicht wirklich damit auseinander gesetzt. :oops: War nur eine Function die im Rahmen des Prozessekillens brauchte...
Forum: Multimedia
Delphi
by Mr_G,
4. Sep 2005
Vielleicht hilft dir das hier:
uses ..., tlhelp32 ...
function GetProcessID(sProcName: String): Integer;
var
hProcSnap: THandle;
pe32: TProcessEntry32;
begin
result := -1;
hProcSnap := CreateToolHelp32SnapShot(TH32CS_SNAPPROCESS, 0);
if hProcSnap = INVALID_HANDLE_VALUE then exit;