我从新安装了BREW的TOOLS和SDK,结果运行以前那个程序(这个程序以前很正常)就出了错误?
warning C4013: 'IMedia_SetMediaData' undefined; assuming extern returning int
warning C4013: 'IMedia_SetVolume' undefined; assuming extern returning int
warning C4013: 'IMedia_Stop' undefined; assuming extern returning int
error C2065: 'EVT_POINTER_DOWN' : undeclared identifier
error C2051: case expression not constant
error C2065: 'EVT_POINTER_UP' : undeclared identifier
error C2051: case expression not constant
error C2065: 'EVT_POINTER_MOVE' : undeclared identifier
error C2051: case expression not constant
error C2065: 'EVT_POINTER_STALE_MOVE' : undeclared identifier
error C2051: case expression not constant
执行 cl.exe 时出错.
这里的#include "AEEMedia.h" 头文件也#include 了啊,还有怎么会连'EVT_POINTER_MOVE' 也不认识了,是不是INC文件夹里却这头文件?'EVT_POINTER_MOVE'这个宏在那个头文件里面放着?
[解决办法]
EVT_POINTER_UP 在AEEEvent.h和AEEPOINTERHelpers.h中都有包含