Hi!

This timer doesn't work. Coudle anyone please point out why?

Code:
//[MFC dialog based app]
....
//we're online! so setup the timer
if(!m_bonline){//call only once after going online
    m_nTimer=SetTimer(1,1000,0);
    if(!m_nTimer)
      AfxMessageBox("SetTimer falied");
}
m_bonline=TRUE;
....
....
void CDialuptimetickerDlg::OnTimer(UINT nIDEvent)
{
  Beep(2000,1000);
  CDialog::OnTimer(nIDEvent);
}
....
SetTimer() is called, m_nTimer gets 1, but i can't hear the Beep() inside OnTimer.

thx 4 any help.