I posted this a long time ago, but I'm still getting a first chance exception in dsound.dll with my music/sound engine.
This only occurs when I run in debug mode. I was wondering if any of you have run into the same problem with DirectMusic? Perhaps this is a known bug, although I can't find any info about it at msdn.
It's very strange because after my engine shuts down I can play any retail game and it runs flawlessly. So I'm not sure MSVC is reporting this error correctly. Also inside of the game, my music and sound work perfect - and others have also used my code and it is working with their games as well.
Something is amiss somewhere but I have no starting point on where to begin debugging.
I will again post the source files for the sound portion. Please if you have time and understand DirectMusic and also the STL, let me know if you see any code that might be causing this exception.
Feel free to use this code to put sound in your games.