HID开发,'DEV_BROADCAST_DEVICEINTERFACE' : undeclared identifier
2013-06-09 09:56
369 查看
在人体输入学设备开发中,有时遇到
的错误,
需要在stdafx.h中,添加
例如:
'DEV_BROADCAST_DEVICEINTERFACE' : undeclared identifier
的错误,
需要在stdafx.h中,添加
#define WINVER 0x0501
例如:
#if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #define WINVER 0x0501 #include <afxwin.h> // MFC core and standard components #include <afxext.h> // MFC extensions #include <afxdisp.h> // MFC Automation classes #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls #ifndef _AFX_NO_AFXCMN_SUPPORT #include <afxcmn.h> // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT
相关文章推荐
- Unable to open log device '/dev/log/main': No such file or directory
- 不打印log:Unable to open log device '/dev/log/main': No such file or
- “Unable to open log device '/dev/log/main': No such file or directory”
- Unable to open log device '/dev/log/main': No such file or directory
- Android开发无法打开模拟器的问题:use '@foo' to launch a virtual device named
- [Errno 6] No such device or address: '/dev/tty'
- [转]解决:Unable to open log device '/dev/log/main': No such file or directory
- 异常处理系列:Android开发问题:Failed to install Hello.apk on device 'emulator-5554!
- 安卓开发——报错:Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null
- Unable to open log device '/dev/log/main': No such file or directory
- nable to open log device '/dev/log/main': No such file or directory
- iPhone 开发中 Duplicate interface definition for class’*'怎么处理那?
- iPhone 开发中 Duplicate interface definition for class'*'怎么处理那?
- Android开发:'default' is not a best match for any device/locale combination
- 三星i9100 CM9 rom Unable to open log device '/dev/log/main'的解决办法
- Unable to open log device '/dev/log/main': No such file or directory
- Unable to open log device '/dev/log/main': No such file or directory
- 'ft2232' interface using libftdi with 'jtagkey' layout (1457:5118)unable to open ftdi device
- Unable to open log device '/dev/log/main' Huawai U8860 .
- Unable to open log device '/dev/log/main': No such file or directory