Archived

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

Loading sounds from a dll

This topic is 5962 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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