But.. can you also use the winmm routine to assist in loading that wav from a resource file. My engine uses standard zip files. All game assests can be loaded from a zip archive. I would be nice to let winmm do the loading as it would be able to handle the compressed WAVs for me.
No. If you want to load your wave from a resource file via Win32 MMApi you must first buffer the resource via TResourceStream.
http://www.bridgespublishing.com/art..._resources.htm
You must decompress your wav resource by yourself . Sorry but it is only a low level wav interface.
sincerely Jan