Why would you even want to export VB functions in DLL files? VB is very very slow, because almost every function in VB relies on another DLL (msvbvmXX.dll). So when you would call a VB function from mIRC, it'll also call the VB DLL which will be very slow. If you really wanted to create a DLL in VB for mIRC, i'd recommend creating an ActiveX DLL, and use mIRC's COM support to call the functions