Code: Select all
hMyTimer = SetTimer(hWndMainForm, IDMyTimer, 100, cast(TIMERPROC, @My_TimerProc))
Code: Select all
SUB My_TimerProc(byval hwnd as HWND, byval uMsg as UINT, byval TimerID as UINT_PTR, byval dwTime as DWORD)
What should I change in my code to do it properly?warning 4(1): Suspicious pointer assignment
Any help is appreciated,
Wilko