difficulties in playing a beep in my MFC application

Hi guys
i am making a radar simulator, i have made radar-specific interface in openGL and then embedded it in MFC application for nicer look and user-friendly controls. The problem is i want to play a beep when RADAR detects something. simple
cout << '\a';
did not work (i dont know why, may be it is just for console applications), than i tried
Beep(int freq, int duration_in_millisec);
from windows.h which worked but it pauses the animation during beep
any suggestions???
NOTE: The program is intended to run only on windows to dont bother about cross-platform issues

and without threads (i am not good at)


-Regards
Last edited on
Give the beep function a thread of its own to run in.
Topic archived. No new replies allowed.