
Zitat von
Pseudemys Nelsoni:
LoadDll ist ja der Zeiger auf die Prozedur, oder?

Nope, LoadDLL ist eine implementierte Prozedur in deiner
DLL. Die C-Typdefinitiondient nur als Vorlage.
Delphi-Quellcode:
library Foo;
uses
Windows;
type
PLoadInfo = ^TLoadInfo;
TLoadInfo = record
mVersion: DWORD;
mHwnd : HWND;
mKeep : BOOL;
end;
procedure LoadDll(var LoadInfo: TLoadInfo); stdcall;
begin
LoadInfo.mKeep = True;
end;
exports
LoadDll;
begin
end.