Process := OpenProcess(PROCESS_QUERY_INFORMATION or PROCESS_VM_READ, False, ProcessID);<br>if Process <> 0 then<br>try<br> if EnumProcessModules(Process, Module, Sizeof(Module), dwMCount) then<br> begin<br> GetModuleBaseName(Process, Module, S, 256);<br> List.Add(S);<br> end;<br>finally<br> CloseHandle(Process);<br>end;<br>