I'm inclined to believe that it's mIRC itself that is causing the crash, not the dll. All the crashes I've observed occur only on 6.1, 6.03 never crashes with these dlls.

In addition, while I cannot speak for all dlls, when I get a crash it always seems to involve NTDLL.DLL. I do not call this from any of the dll's I've written, nor do I even link to it, but the errors still occur.

Any ideas?