WaveInOpen Error
-
Hi all, I have been working on an application that records audio off of a soundcard. I use the winnm.dll to give my application this functionality. The problem I am encountering is when I call WaveInOpen, it is giving me an error 4, meaning MMSYSERR_ALLOCATED. I cannot find any rhyme or reason why I am receiving this error message. I am not doing any TAPI or modem functionality, just using functionality that I discovered on the internet for recording of sound from the soundcard. The WaveInOpen call is a standard call. One rather funky situation that I have encountered is on the lower end soundcards, I am not receiving this error. On higher-end cards ($300+), I am receiving this error. I am running XP, written in C# with VS2003. Any suggestions?