参考:http://blog.sina.com.cn/s/blog_6280c9d00100veyt.html
今天因为工作的原因需要把一个给WINCE6.0使用的程序移植到PC端,编译的时候提示“mmtimer.lib”无法导入,最后发现原来这一点WINCE和PC端是有区别的
首先都需要
#include "mmsystem.h"
VC中: #pragma comment(lib,"winmm.lib")
EVC中:#pragma comment(lib,"mmtimer.lib")