<pre> BOOL CWavePlay::ReadWaveFile(CString szFilename) { hmmio = mmioOpen((LPTSTR)&szFilename,NULL,MMIO_READ); ASSERT(hmmio); //error here: hmmio=0x00000000 if(hmmio==0) return FALSE; .... }
hmmio = mmioOpen((LPTSTR)szFilename,NULL,MMIO_READ);
PlaySound
SND_FILENAME
<pre>hmmio = mmioOpen((LPTSTR)(LPCTSTR)szFilename,NULL,MMIO_READ);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)