Which version of MAME are you using? Correct me if I am wrong, but I assume you are using the .64 Kaillera release. The problem might be that your DLL is too NEW, and not old, but MAME notices it is different and that is the resulting error message. Have you tried running a plain vanilla updated version of MAME UI? Let me know if you get the same error with that.