vs2005 下error C3861: 'GetEventData': identifier not found 解決方法

今天用vs2005寫CE下的測試app時,用到GetEventData 和 SetEventData,build時遇到error C3861: 'GetEventData': identifier not found。

查幫助文檔發現需要頭文件<pkfuncs.h>,果斷include<pkfuncs.h>,build。又有錯, Cannot open include file: 'pkfuncs.h': No such file or directory,找不到這個頭文件,鬱悶了,CE6的標準SDK竟然沒有這個頭文件,無奈之下把BSP下的pkfuncs.h 放進SDK,再build。還有錯,Cannot open include file: 'toolhelp.h': No such file or directory,原來pkfuncs.h裏還包了toolhelp.h這個頭文件,找來找去,沒發現哪裏有。最後找了組裏做Ap的前輩,原來他們之前也都遇到過這個問題。從她哪裏拷來了toolhelp.h。再build,哦了。

發佈了15 篇原創文章 · 獲贊 0 · 訪問量 1萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章