Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Dialing a phone number with TAPI

Keywords:  dialing a phone number with TAPI DLLCall

TAPI (Telephony Application Programming Interface) lets you use modems and other communication devices more easily. Under TAPI, it's possible to change devices without having to reconfigure every piece of software to work with it.

Here's an example of using the DllCall function to feed a number to the connection setup and dial a phone number:

tapidll=strcat(DirWindows(1),"tapi.dll")
numtodial="555-1212"
name="Information Please"

rslt=DllCall(tapidll,long:"tapiRequestMakeCall",lpstr:numtodial,lpnull,lpstr:name,lpnull)

Documentation probably comes with stuff like Visual C++.

Also, if you go to:

http://www.altavista.digital.com
and search for TAPI, you can get a lot of hits.
Article ID:   W13424
Filename:   Dialing a phone number with TAPI.txt