摘要:
方法一:SetTimer(NULL, 0, 1000, (TIMERPROC)Timer2Proc);VOID CALLBACK Timer2Proc( HWND hWnd, // handle of window for timer messages UINT uMsg, // WM_TIMER message UINT idEvent, // timer identifier DWORD dwTime // current system time ){ return;}方法二:// DLL中的线程函数可以象这样使用TimerUINT ThreadProc(LPVOID){SetTimer( 阅读全文