Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Creating your first TAPI application

0.00/5 (No votes)
4 Nov 2001 26  
This sample application shows you how you can use the TAPI 3.0 functions to create a TAPI application of your own.

Sample Image - tapi.jpg

Introduction

This sample application shows you how you can use the TAPI 3.0 functions to create a TAPI application of your own. Microsoft provides more than 100 functions as part of the TAPI library. TAPI 2.1 was more difficult to use as it was a set of API functions but TAPI 3.0 which comes as part of Windows 2000 has ActiveX controls that make the TAPI application creation much easier. The TAPI SDK that can be downloaded from the Microsoft site provide several samples which show the usage of TAPI functions in VB, JAVA and C++. Learning to use different TAPI functions require lot of time investment but once you create some applications using these TAPI functions, it becomes easier for you to use the TAPI functions more efficiently.

Requirements to run this sample code

This application uses the Windows Phone Dialer utility that comes with Windows and can be found under the Accessories group. That program will act as the call manager and will handle the dialing of the phone number that is passed to the tapiRequestMakeCall function.

Running the program will invoke the call manager, and the call manager then dials the number entered in the textbox.

Before running the sample code, make sure that the modem is installed in your machine. Also, to experiment with other TAPI functions, download the complete TAPI SDK (if its not already available on your computer) from the Microsoft site. Several third parties develop tools that make the creation of telephony applications much easier. If you are a serious TAPI developer then you must download the third party tools from the Internet or dwell into the TAPI SDK yourself to get a thorough understanding of the telephony functions.

You can download TAPI software free of cost from the Microsoft site.

TAPI2195.exe is the TAPI implementation for Windows 95, and TAPI21NT for Windows NT. Download and install the one that is appropriate for your computer.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here