Link to home
Start Free TrialLog in
Avatar of broccoli
broccoli

asked on

Sample code on TAPI - wav to phone

Somewhere, sometime (not in the current SDK) microsoft published sample code on how to send a wav file (as a sound) a voice/modem using TAPI and probably mmAPI.  Does anyone know where I can locate that code?

If you locate it by doing a search, I would be grateful to learn how you conducted the search

kelias@clic.net
Avatar of broccoli
broccoli

ASKER

Adjusted points to 75
In case anybody is interested in the answer to my question.  The code is at

   ftp://ftp.microsoft.com/developr/MSJ/MSJAUG96.ZIP

I found after locating the tapi FAQ at:

  http://members.tripod.com/~tapifaq/index.html#FAQ


you need open the lineDevice
and then you can use the device as WaveDevice.
that is saying you can control the device with MCI function

in the VC5 help you can find want you need.
Dear wyy_cq;

Thank you for trying to respond, however, I have already found the answer to my question.  I posted that answer yesterday.  In addition, your answer would not have been satisfactory even if I had been asking "how" to play a wave to the phone.  

To open the device I must use LineOpen(), but the critical step is lineGetID() where I get an ID for the modem that I can pass to the media player functions.

Thank You Again for trying

Keith Elias
ASKER CERTIFIED SOLUTION
Avatar of linda101698
linda101698

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
broccoli:
Since the link -
ftp://ftp.microsoft.com/developr/MSJ/MSJAUG96.ZIP 

Is no linger valid & the download from -
http://members.tripod.com/~tapifaq/index.html#FAQ 

was not working either, could you post the code for your solution?

Thanks,
Grailman
Grailman,
If you do not get a response could you please ask me to remove this question from the Previously Asked Questions does not seem to be working.  If the answer is no longer valid, I should delete the question.

I am also going to refund the 7 points you used to access this question back to your account.

Thanks for posting the comment.

Linda Gardner
Community Support @ Experts Exchange
Sorry for taking so long to reply.

Go to:

http://www.microsoft.com/msj/code.asp

You want:

August 1996 Vol. 11 No.8 ..............     CODE MSJAUG96
                                                         (392,629 Bytes)
and/or

April 1998 Vol. 13 No. 4 .............. CODE MSJAPR98
                                                   (303,282 Bytes)

If you go up one directory to http://www.microsoft.com/msj
you can also get copies of the articles.  I converted the Aug96 code for use in Delphi.  That code is available at the site of the "Delphi Informant Magazine".

The tripod address is still good.  That's how I found the above info.  You must have hit the site on a bad day.

My Email address is: kelias@clic.net

Cordially;

Friar Broccoli