Keeping a DLL loaded? (C++ struct -> Delphi) - 22/06/05 10:56 AM
Hi,
i want to keep my DLL (Coded in Delphi) loaded.
I translated the C++ struct from
C++:
to Delphi:
Now when i load the DLL, mirc crashes (it didnt before).
Any ideas what wrong?
i want to keep my DLL (Coded in Delphi) loaded.
I translated the C++ struct from
C++:
Code:
void __stdcall (*LoadDll)(LOADINFO*); typedef struct { DWORD mVersion; HWND mHwnd; BOOL mKeep; } LOADINFO;
to Delphi:
Code:
type TLOADINFO = record mVersion: DWORD; mHwnd: HWND; mKeep: BOOL; end; procedure LoadDll(var LoadInfo: TLOADINFO); stdcall; begin // ? end; exports LoadDll;
Now when i load the DLL, mirc crashes (it didnt before).
Any ideas what wrong?