DWORD dwProcessNum = dwProcInfoSize / sizeof(ProcessInfo);
Release();
ProcessInfo *pTemp = (ProcessInfo *)pInfo;
for (DWORD i = 0; i < dwProcessNum; i++)
{
ProcessInfo *pList = new ProcessInfo;
memcpy(pList->pszImageFileName, pTemp->pszImageFileName, 16);
pList->uEprocess = pTemp->uEprocess;
pList->uProcessId = pTemp->uProcessId;
pList->uCR3 = pTemp->uCR3;
m_ListProcessInfo.push_back(pList);
if (i != (dwProcessNum - 1))
{
pTemp =
(ProcessInfo *)((DWORD)pTemp + sizeof(ProcessInfo));
}
}
以上是vs写出来的
弄了半天郁闷死了 不知谁能帮忙转下delphi的啊~
谢谢了~
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!