LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone have an example VI for using the SendInput function in the User32.dll?

Solved!
Go to solution

Hi All,

 

I'm trying to create a VI that creates a mouse click.  I have looked at the MSDN website and found that I need to use the SendInput function within the User32.dll.  The problem is that some of the parameters for this functions are nested structs.  How do I use this function in a call library function node?  Does anyone already have a LabVIEW wrapper for this function?

 

Thanks,

MechEman 

0 Kudos
Message 1 of 3
(3,956 Views)
Solution
Accepted by MechEman
I would use MouseEvent instead.  I looked at my VI and it can be cleaned up somewhat, but it works for what you want to do.
Message 2 of 3
(3,943 Views)
Thanks, that works beautifully....
0 Kudos
Message 3 of 3
(3,901 Views)