End Google Ads 201810 - BS.net 01 --> I have some code in C++ ( not using MFC ) and i define some timer to some class.

I try to stop the timer and i see that Timer function continue to be call - and i cant stop the timer.

I dont know what i do wrong - and why the function "PollingTimerProc" continue to call each X PollInterval second.

Code:


if(bEnable)
{
m_nTimerID=::SetTimer(0, 0, m_lPollInterval, (TIMERPROC)PollingTimerProc);
}
else
{
::KillTimer (0, m_nTimerID);
m_nTimerID = 0;
}