At this page
http://msdn.microsoft.com/en-us/libr...60(VS.85).aspx
Microsoft says: This function has been superseded. Use SendInput instead
Well, there is only a little problem: SendInput don't works with Seven 64 bit.
I have read tons of web pages. Someone suggest to change:
<FieldOffset(4)> Public mi As MOUSEINPUT with
<FieldOffset(8)> Public mi As MOUSEINPUT
... nothing changes
Someone suggest to compile x86... nothing changes.
At this code:
Dim result As Integer = NativeMethods.SendInput(1, input, cbSize)
If result = 0 Then Debug.Print(" SendInput error: " & Marshal.GetLastWin32Error)
I receive the Error number = 5.
Where I can read something about this error number???????? Ty





Reply With Quote