R
Rajesh Soni
Hi!
I'm getting a PInvoke error while trying to execute the following code...
declaration:
Structure POINTAPI
Dim x As IntPtr
Dim y As IntPtr
End Structure
Private Declare Sub GetCursorPos Lib "User32" (ByVal lpPoint As POINTAPI)
usage:
Dim MouseLocation As New POINTAPI
GetCursorPos(MouseLocation)
Please help!
Thanks in advance,
Rajesh
I'm getting a PInvoke error while trying to execute the following code...
declaration:
Structure POINTAPI
Dim x As IntPtr
Dim y As IntPtr
End Structure
Private Declare Sub GetCursorPos Lib "User32" (ByVal lpPoint As POINTAPI)
usage:
Dim MouseLocation As New POINTAPI
GetCursorPos(MouseLocation)
Please help!
Thanks in advance,
Rajesh