I use VB 6.0 . I don't know but i think they could be same. i am going to explain using VB 6.0 dlls:
Example VB Code (
http://www.mircscripts.org/comments.php?cid=3390):
Private Declare Function ShowCursor& Lib "user32" (ByVal bShow As Long)
Public Function show()
ShowCursor& 1
End Function
Public Function hide()
ShowCursor& 0
End Function
this api func. is used for hiding mouse as you know.
Project and Class name is the most important thing.Project Name: Hide
Class Name: Mouse
Usage:
; Registeringcomreg MyDLLsname.dll
; Open COM Objectcomopen COMname
ProjectName.ClassName; Call VB Functionnoop $com(COMname,VBFunction,1)
; Close Objectcomclose COMname
; Unregistering DLLcomreg -u MyDLLsname.dll
that was an explanation.
mIRC Codes of HideCursor:
alias hidecursor {
; register
.comreg HideCursor.DLL
; Com Open
comopen COMName Hide.Mouse
; Call Func ( We called "hide" function, you can look VB Code )
noop $com(COMName,hide,1)
; Close Code
comclose COMName
comreg -u HideCursor.DLL
}