Im going to use IRC as a statistics distribution system in a call center, the data is to be called from a VB ActiveX DLL... anyone know how to do this in mIRC with $dll?

I tried making a ActiveX dll with a function and I tried...

//echo DLL returned $dll(test.dll,Class1.myFunction,"")
//echo DLL returned $dll(test.dll,myFunction,"")
//echo DLL returned $dll(test.dll,Class1,"")

And I keep getting * $dll: no such procedure... anyone messed around with this?