GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
Converting a C# strunction to WLanguage
Converting a C# strunction to WLanguage
Iniciado por Simon Phillips, jan., 02 2024 8:16 PM - Sem resposta
Conecte-se…
Simon Phillips
#1
Publicado em janeiro, 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
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto