mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2004
Posts: 1
W
wrastus Offline OP
Mostly harmless
OP Offline
Mostly harmless
W
Joined: Apr 2004
Posts: 1
How to implement LOADINFO and LoadDLL in Delphi.

I have tried:
....
type TLoadInfo = packed record mVersion:DWORD; mHwnd:HWND;
mKeep:Boolean;
end;
....
var
PLoadInfo = ^TLoadInfo;
....
procedure LoadDll(const MLOADINFO : PLOADINFO);
begin
MLOADINFO.mKeep := True;
end;
--------

This gives me a memory access violation at 0x00000001.

Help ;-)
- wrastus

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
There's a code listing of TLoadInfo, PLoadInfo, LoadDll(), and UnloadDll() in Delphi here.


Spelling mistakes, grammatical errors, and stupid comments are intentional.

Link Copied to Clipboard