i checked the result of waveInGetDevCaps() and initialized the wOC var
the return value is MMSYSERR_NOERROR.
int nwaveInDevs = waveInGetNumDevs();
if ( nwaveInDevs ){
WAVEINCAPS wOC = {0};
if (MMSYSERR_NOERROR == waveInGetDevCaps( 0,&wOC,sizeof(WAVEINCAPS)))
AfxMessageBox("DONE it!!");
}
but stll with the debug i get
wChannels = 65535
story is the same for waveOut....