Hmm... It's possible to return value to mIRC and keep it loaded?

like:
void __stdcall (*LoadDll)(LOADINFO*);

typedef struct {
DWORD mVersion;
HWND mHwnd;
BOOL mKeep;
} LOADINFO;

int __stdcall test(HWND mWnd, HWND aWnd, char *data, char *parms, BOOL print, BOOL nopause) {
_fstrcpy( data , "hello" );
return 3;

LoadDll -> mKeep = TRUE; ??
}

or? im not sure about that LoadDll

Last edited by sNif; 11/05/03 12:03 AM.