Hi There,
I am currently developing an application called audio quiz which requires the user to listen to questions rather than read them.
Currently, I am using a 'system(mplayer2.exe filename.wav)' function call to invoke the standard win media player and allow the user to listen to a .wav file. This does not seem very satisfactory and am wondering how I can play .wav files without explicitly making a system call.
I know that you can create a .rc file at design time which will compile all resources (.wav files here) into a .res file directly.
Are there other better ways to use sound files that the user can either specify or can be read from a text file.
What help resources are available on dealing with resources ?
All help much appreciated,
Steven Matthews
I am currently developing an application called audio quiz which requires the user to listen to questions rather than read them.
Currently, I am using a 'system(mplayer2.exe filename.wav)' function call to invoke the standard win media player and allow the user to listen to a .wav file. This does not seem very satisfactory and am wondering how I can play .wav files without explicitly making a system call.
I know that you can create a .rc file at design time which will compile all resources (.wav files here) into a .res file directly.
Are there other better ways to use sound files that the user can either specify or can be read from a text file.
What help resources are available on dealing with resources ?
All help much appreciated,
Steven Matthews