T
Turtle
I've been using SendKeys to automate a small utility which doesn't expose an
automation interface, but ran into a problem, for which I found the
suggestion that I use the WinAPI SendInput call instead. In trying to
implement this, most of the sample code I've found has been in VB6, so I'm
trying to deal with that, too.
The code requires a call to CopyMemory to pack information into the right
structures for the SendInput call, and that's where it gets really hairy.
The VB declaration for CopyMemory uses two arguments declared as ANY, which
my VB.NET compiler doesn't like.
Anybody have any ideas on how this should look?
I feel I'm in way over my head on this, so please ask me what information I
need to be posting to get the answers I need to get this thing going.
Or if I'd be better off in another newsgroup, I'd appreciate a reference on
that, too.
TIA
- Turtle
automation interface, but ran into a problem, for which I found the
suggestion that I use the WinAPI SendInput call instead. In trying to
implement this, most of the sample code I've found has been in VB6, so I'm
trying to deal with that, too.
The code requires a call to CopyMemory to pack information into the right
structures for the SendInput call, and that's where it gets really hairy.
The VB declaration for CopyMemory uses two arguments declared as ANY, which
my VB.NET compiler doesn't like.
Anybody have any ideas on how this should look?
I feel I'm in way over my head on this, so please ask me what information I
need to be posting to get the answers I need to get this thing going.
Or if I'd be better off in another newsgroup, I'd appreciate a reference on
that, too.
TIA
- Turtle