Archived

This topic is now archived and is closed to further replies.

Om

Loading sounds from a dll

Recommended Posts

This may be basic but still a little help would be appreciate. Ok, so I''ve made a Dll with my .wav and I''d like to access them. I guess that the key is using : HMMIO mmioOpen( LPSTR szFilename, LPMMIOINFO lpmmioinfo, DWORD dwOpenFlags ); Just as you use with sounds coming from a dir. I load the dll and all is fine but I can''t access the sound just by using the filename assigned in the dll. So I guess since the sound is in memory : filename - set to NULL since the sound is open in the DLL(right ?) lpmmioinfo - set to ? Well, I hope I made it clear. I might just stumble (sp ?) on the solution myself, if so, I''ll post it for someone in the future who might have the save problem. Thanx Om

Share this post


Link to post
Share on other sites
Got it...

if you do face the same problem in the future, email me I''ll try to help !

Om

Share this post


Link to post
Share on other sites