If I recall correctly from a previous discussion on this issue, mIRC is unregistering the dll, however Windows is maintaining a lock on it in case some other application tries to use it. Are you still unable to delete it when you exit mIRC?