THPROCESS.PROCESSFIRST (& PE);

xiaoxiao2021-03-06  115

CToolHelp Thprocesses (TH32CS_SNAPPROCESS);

PROCESSENTRY32 PE = {SIZEOF (PE)};

Bool fok = thprocesses.ProcessFirst (& PE);

PCTSTR PSZEXEFILE = _TCSRCHR (pe.szeefile, text ('//'));

IF (pszexefile == null) pszexefile = pe.szexefile;

转载请注明原文地址:https://www.9cbs.com/read-99977.html

New Post(0)