Вниз
Скачать: CL | DM;

Как программно определить какие библиотеки использует приложение?   Найти похожие ветки 

 
kanibal   (2009-12-01 18:24) [0]

Сабж.


 
clickmaker ©   (2009-12-01 18:40) [1]

EnumProcessModules()


 
S-C-L ©   (2009-12-01 19:36) [2]



var TModuleArray : array of TModuleEntry32;

function GetModulesListByProcessId(ProcessId: Cardinal): TModuleArray;
var
 hSnapshot: THandle;
 lpme: TModuleEntry32;

 procedure AddModuleToList;
 begin
   SetLength(Result, High(Result) + 2);
   Result[high(Result)] := lpme;
 end;

begin
 SetLength(Result, 0);
 hSnapshot := CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, ProcessId);
 lpme.dwSize := SizeOf(lpme);
 if Module32First(hSnapshot, lpme) then
 begin
   AddModuleToList;
   while Module32Next(hSnapshot, lpme) do
     AddModuleToList;
 end;
end;


 
S-C-L ©   (2009-12-01 19:37) [3]

uses TLHelp32; // не забудь


 
Сергей М. ©   (2009-12-03 09:44) [4]


> какие библиотеки использует приложение


В данный момент времени или вообще ?



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.063 c
15-1343893780
Wadimka
2012-08-02 11:49
2013.03.22
Подскажите куда копать


15-1343319699
alexdn
2012-07-26 20:21
2013.03.22
php, цвет ссылки


2-1330505116
AlexDn
2012-02-29 12:45
2013.03.22
if....then.....


15-1344430720
AV
2012-08-08 16:58
2013.03.22
is not null VS not is null. Мини холи-вар?


15-1344793658
Artem
2012-08-12 21:47
2013.03.22
Помогите решить задачу




   Наверх