FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Converting a C# strunction to WLanguage
Converting a C# strunction to WLanguage
Débuté par Simon Phillips, 02 jan. 2024 20:16 - Aucune réponse
Connectez-vous…
Simon Phillips
#1
Posté le 02 janvier 2024 - 20:16
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
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte