我声明一个变量 "MMRESULT m_rstTimerID;" 为何总提示错误?
lmyin 2002-07-28 11:02:46 我声明一个变量 "MMRESULT m_rstTimerID;" 为何总提示错误?
代码如下:
MMRESULT m_rstTimerID;
m_rstTimerID=timeSetEvent( 20, 5, (TIMECALLBACK)MyTimerFun , 0, TIME_PERIODIC | TIME_CALLBACK_FUNCTION );
总提示:
"error C2501: 'MMRESULT' : missing storage-class or type specifiers"
各位高手可否指点一二?