Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check if a WAV file is still playing

Status
Not open for further replies.

Flagada

Programmer
Dec 22, 2005
8
0
0
NL
Hi,

I was wondering,

If I play a WAV file from a resource file using PlaySound(), how can I know that the WAV file has finished playing or that it is still playing?


This is my code:

#include <vcl\mmsystem.hpp>

PlaySound(“ID_WAVE”, HInstance, SND_ASYNC | SND_RESOURCE);



Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top