I guess it is possible. If when using confirm on exit, a yes answer is given (still processing WM_CLOSE message), before the message completes, the DLL's are unload... This would not be good. mIRC should unload DLL's in WM_DESTROY or WM_QUIT. Only one person can tell you if that's the case though... wink