Is there a main function call in MFC that just reproduces input ping error?
I am looking for something similar to calling AfxMessageBox (), which simply plays the ping that is often heard on error.
Find MessageBeep .
Try PlaySound :
PlaySound( (LPCTSTR)SND_ALIAS_SYSTEMHAND, NULL, SND_ALIAS_ID | SND_ASYNC ); // or so