Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SendInput Function
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00814808
Message ID:
00814826
Views:
34
Hi Brent,

The structure definition is incorrect. The INPUT structure contains a union. You need to pad the ki element to the length of the mi element as this is the biggest one. Changing the structure like this results in 1 as the return value:
dwUnion1 = 0
dwUnion2 = 0
cMembers = 'l:dwType, w:wVk, w:wScan, l:dwFlags, l:dwTime, pul:dwExtraInfo, l:dwUnion1, l:dwUnion2'
--
Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform