Visual FoxPro application is running with Windows 11 Remote Desktop Client in Microsoft Hyper-V server 2019.
Sounds are enabled in RDP client and Windows sounds from RDP apper in client.
Application uses
??chr(7)
command for beep. This sound does not appear in client. If application is running locally, chr(7) causes windows default sound.
How to beep or make other sound from VFP Application? Can some API call used or is it possible to play some file from FoxPro?
You can try the Win32API function
sndPlaySound, like