PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Converting a C# strunction to WLanguage
Converting a C# strunction to WLanguage
Started by Simon Phillips, Jan., 02 2024 8:16 PM - No answer
Connect yourself…
Simon Phillips
#1
Posted on January, 02 2024 - 8:16 PM
Hi All
I am not a user of C# but want to use the User32.dll "SendInput" to send Win+H to the system.
I am almost there, but the structure sent to the method is returning an error saying that the structure is the wrong format.
The structure in C# is:
typedef struct tagINPUT {
DWORD type;
union {
MOUSEINPUT mi;
KEYBDINPUT ki;
HARDWAREINPUT hi;
} DUMMYUNIONNAME;
} INPUT, *PINPUT, *LPINPUT;
but I need to transfer this to a structure that I can use in WinDev.
The Microsoft page for this is
https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-input
Thanks
Simon Phillips
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text