Loading sounds from a dll
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement