Sample code on TAPI - wav to phone

Posted on 1998-11-06
Last Modified: 2013-11-20
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
Question by:broccoli

Author Comment

ID: 1324312
Adjusted points to 75

Author Comment

ID: 1324313
In case anybody is interested in the answer to my question.  The code is at

I found after locating the tapi FAQ at:


Expert Comment

ID: 1324314
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.

Author Comment

ID: 1324315
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).


Accepted Solution

linda101698 earned 70 total points
ID: 1324316
I am posting the solution found by broccoli so it can be saved in the previously asked questions.  Please see your customer service question for an explanation.

Linda Gardner
Customer Service @ Experts Exchange

Comment From: broccoli
                                 Date: Thursday, November 12 1998 - 12:41PM PST
     In case anybody is interested in the answer to my question.  The code is at

     I found after locating the tapi FAQ at:

Expert Comment

ID: 2637563
Since the link -

Is no linger valid & the download from -

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


Expert Comment

ID: 2644645
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

Author Comment

ID: 2657574
Sorry for taking so long to reply.

Go to:

You want:

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

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

If you go up one directory to
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:


Friar Broccoli

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video discusses moving either the default database or any database to a new volume.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now