|
请教:用教材给的关于输入的程序在vc6.0上编译后提示"c:\program files\microsoft directx 9.0 sdk (april 2005)\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
Linking..."打开dinput.h文件只找到"
/*
* To build applications for older versions of DirectInput
*
* #define DIRECTINPUT_VERSION [ 0x0300 | 0x0500 | 0x0700 ]
*
* before #include <dinput.h>. By default, #include <dinput.h>
* will produce a DirectX 8-compatible header file.
*
*/
#define DIRECTINPUT_HEADER_VERSION 0x0800
#ifndef DIRECTINPUT_VERSION
#define DIRECTINPUT_VERSION DIRECTINPUT_HEADER_VERSION
#pragma message(__FILE__ ": DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800")
#endif "
不清楚0x0800是什么,用百度搜索0x800到这里.
请教上述编译问题如何解决?0x0800是指什么?
如太初级,各位不想回答,请指点一下在下应去找哪本书看便可知道答案.
谢谢! |
|