
03.07.2011, 10:37
|
 |
Let Me Show You
|
|
Регистрация: 30.04.2010
Адрес: Северодвинск
Сообщения: 5,426
Версия Delphi: 7, XE5
Репутация: 59586
|
|
Цитата:
LoadLibrary
Return Values
If the function succeeds, the return value is a handle to the module.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
|
Код:
var
h: THandle;
begin
h:=LoadLibrary('dll.dll');
if h=0 then ShowMessage(SysErrorMessage(GetLastError));
end;
__________________
Пишу программы за еду.
__________________
|