本文介绍了KEYBDINPUT和INPUT的未声明标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在为Sendinput()编码时,我得到了KEYBDINPUT和INPUT作为未声明的标识符.
在包含< windows.h>之前,我什至包含了#define _WIN32_WINNT 0x0500.和< winuser.h>.
我正在使用MS Visual Studio 2005版本8.0.50727.762和.NET Framework 2.0.

请帮帮我,

谢谢

While Coding for Sendinput(), I am getting KEYBDINPUT as well as INPUT as undeclared identifiers.
I even included #define _WIN32_WINNT 0x0500 before including <windows.h> and <winuser.h>.
I am using MS Visual Studio 2005 version 8.0.50727.762 and .NET Framework 2.0.

Please help me out,

Thanks

推荐答案

#include <windows.h>
:
KEYBDINPUT ki;
</windows.h>


对我来说很好.您将必须提供更多详细信息.


works fine for me. You are going to have to provide more details.


这篇关于KEYBDINPUT和INPUT的未声明标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 19:30