hi,
I must create a timer in dll-application in visual c++.
I do this:
UINT m_timerID;
m_timerID = SetTimer(NULL,0,(UINT)1,(TIMERPROC)OnTimer);
void CALLBACK OnTimer(HWND hWnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
{
printf("ok\n");
} // OnTimer
but OnTimer not happened.
why?
Thanks
I must create a timer in dll-application in visual c++.
I do this:
UINT m_timerID;
m_timerID = SetTimer(NULL,0,(UINT)1,(TIMERPROC)OnTimer);
void CALLBACK OnTimer(HWND hWnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
{
printf("ok\n");
} // OnTimer
but OnTimer not happened.
why?
Thanks