Registriert seit: 27. Apr 2008
Ort: Rahden
630 Beiträge
|
AW: LoadLibrary DLL Laden
10. Mai 2013, 09:54
Such dir was aus...
Delphi-Quellcode:
procedure ImportDLL;
var
hDLL: THandle;
sDLLPath: string;
begin
sDLLPath := ' C:\OESoft\matrix32.dll';
hDLL := LoadLibrary(PWideChar(sDLLPath));
if hDLL = 0 then
ShowMessage(' DLL konnte nicht geladen werden.')
else
ShowMessage(' Alles ist Tutti!');
end;
Delphi-Quellcode:
procedure ImportDLL;
var
hDLL: THandle;
begin
hDLL := LoadLibrary(' C:\OESoft\matrix32.dll');
if hDLL = 0 then
ShowMessage(' DLL konnte nicht geladen werden.')
else
ShowMessage(' Alles ist Tutti!');
end;
Delphi-Quellcode:
procedure ImportDLL;
var
hDLL: THandle;
sDLLPath: PWideChar;
begin
sDLLPath := ' C:\OESoft\matrix32.dll';
hDLL := LoadLibrary(sDLLPath);
if hDLL = 0 then
ShowMessage(' DLL konnte nicht geladen werden.')
else
ShowMessage(' Alles ist Tutti!');
end;
|
|
Zitat
|