I want to include one wav file into dll and play it later.
How to do it? I know how to play file that is in the same direcory. But I want to include around 50 wav files into my dll.
I want to include one wav file into dll and play it later. How
Share
You embed such files as resources.
You need a resource file, and e.g.
Then to play it directly, use PlaySound.
hInstance should be the handle passed to your DllMain