i'm doing it like that:
type
TmIRCLoadInfo = packed record
mVersion : DWORD;
mHwnd : HWND;
mKeep : Boolean;
end;
PmIRCLoadInfo = ^TmIRCLoadInfo;
[...]
procedure LoadDll(LoadInfo: PmIRCLoadInfo); stdcall; export;
begin
LoadInfo.mKeep := False;
end;
i noticed that you're missing the export clause, that might be it, dunno ^^