关于settimer的一些新认识
摘要:
原来在MFC下用过一些settimer函数 公司让在控制台下应用,当时人文settimer跟硬件中断时一样的,所以写了如下函数:#include #include #include UINT_PTR htimer_controll; VOID CALLBACK TimerProc_controll(HWND hwnd, UINT message, UINT iTimerID, DWORD dwTime) ;int main(int argc, char **argv){htimer_controll = ::SetTimer(NULL,1,1000,TimerProc_controll);w. 阅读全文
posted @ 2012-04-02 11:11 心心程序博客 阅读(428) 评论(0) 推荐(0) 编辑