Sounds like the .dll is outdated due to changes in mIRC coding from 6.1+ If you can find an updated version of the .dll then by all means download it otherwise you will be stuck unless you can program your own .dll which you've already attempted.

If the dll you downloaded has a home page or the email of the programmer available - that's your best options to start with an upgrade.

Good luck,

Talea