Re: "Resource unavailable" on waveOutOpen for modem call

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have similiar problem with the modem.
There are wave drivers installed for that modem.

waveOutOpen with WAVE_FORMAT_QUERY works properly, but
waveOutOpen with CALLBACK_FUNCTION Or WAVE_MAPPED returns
MMSYSERR_ALLOCATED.

In that moment I have NOT called waveInOpen yet.
What can be wrong?
Jack

"Orion" <sameerbk@xxxxxxxxx> wrote in message
news:1116104377.593237.153820@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> First off i am new to VC++, TAPI, SAPI and all so pls bear with me. I
> am trying to play a wav file using the WaveOutOpen() on an open
> phonecall connected thru the modem, but i get this error as return
> value, MMSYSERR_ALLOCATED, that is "Specified resource is already
> allocated" prob meaning the modem wave out deviceis doing something
> else, but I don't have any other program open. I am using WinXP and
> VisualStudio 6 Enterprise. My modem is a USR 56K external message
> modem.
>
> also could some one direct me to some similiar code that would work in
> VC++ 6. almost all the code around is for prev versions (i think, i am
> new to VC++) to play a wav file on on open call placed thru the modem.
> i tried the code from the MSJ Aug '96 article ,those with the SAPI SDK
> 4.0 those too wont work. those for SAPI SDK 5.1 Does not have any for
> VC++, only C# :(. Pls help me, our proj is due next month.
>
> TIA,
>
> Sameer
>


.



Relevant Pages