今天用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,哦了。