O.P. What is the best way to play sounds using C++?
I want to write a small family of similar Msg+ plugins, all of which play sounds based on commands. Each plugin will have a different set of sounds.
At the moment, I am playing with a small, one-sound plugin, which will form the basis of the others. When I exclude the code to play the sound, the plugin compiles and runs correctly. However, when I use the PlaySound() function, it won't compile, even though I have got all the correct #include's as specified by the VC++6 online documentation and MSDN. I keep on getting error LNK2001.
Am I doing the right thing? Or should I use a different method? I can post the function call, complete with arguments, if that'll help.
|