1. Where can I find TAPI sample code, utilities, etc.?
The Microsoft TAPI web site (http://www.microsoft.com/communications/telephony.htm) has some good general purpose TAPI information including white papers, etc.
2. The TAPI Browser (TB)
The TAPI Browser (TB) is a TAPI debugging application that allows a user to interactively call into the Windows Telephony interface and inspect all returned information. It is an excellent tool for testing and debugging TAPI service providers by hand, or to learn how TSP's behave when developing new applications. There are currently three versions of the TAPI Browser available:
3. The Economical Service Provider (ESP)
The Economical Service Provider (ESP) is a TAPI debugging Service Provider that supports multiple virtual line and phone devices. It is configurable, requires no special hardware, and implements the entire TSP interface . It is an excellent tool for testing and debugging TAPI applications without needing any telephony hardware.
4. TAPIComm sample application
TapiComm is a sample application that demonstrates how to use TAPI to place a DATAMODEM call and then use Win32 APIs to do serial communications. This application requires TAPI 1.4 or later to run.
A document, TapiComm.doc, accompanies the sample and explains the programming strategies of the sample with a fairly complete walkthrough of the code.
5. EnumTAPI sample application
EnumTAPI is a sample application is a quick and dirty tool that demonstrates how to enumerate TAPI line devices and print some useful information. It is a handy utility to get some fundamental information about installed telephony devices and also demonstrates how to write a TAPI console application.
6. MSJ Voicemail sample application
The August, 1996 issue of Microsoft Journal contains a sample TAPI voicemail application. This application is an excellent example of how to play and record audio (wave) files over the telephone using TAPI. You can download the source code from the MSJ ftp site.
Please note that there are some bugs in this voicemail sample applicaiton. Click here for a list of the bugs and their fixes.
7. ExactTime sample application
ExactTime is a sample application written by Windows guru Charles Petzold for PC Magazine. This app uses TAPI to call a time server at either the US Naval Observatory or the National Bureau of Standards and then synchronizes your computers clock to that of the time server. This sample, also including full source code, can be downloaded from the PC Magazine web site.
8. MSJ SimpleTAPI sample application
The April, 1998 issue of Microsoft Journal contains another sample TAPI application. This is a simple TAPI 2.x console application that lets you open a line with any specified media mode(s), answer incoming calls, and place outbound calls. It also displays messages and parameters as they are received. This sample also serves as an example of the event handling method introduced with TAPI 2.0, currently the only sample I have listed here that shows how to do this. This sample can also be downloaded from the MSJ ftp site.
9. Visual Basic samples from Netpoint
Netpoint Computers, Ltd. has written some TAPI applications using Visual Basic 5.0 and 6.0, and the source code is available from their web site. See their web site for more details.
10. EZVoice - a free voicemail and answering machine
EZVoice is a free voicemail and answering machin application written for TAPI 1.4. The source code for the application is avaiable from the author for a fee.
Back to the FAQ index...