Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tapping into TAPI
Message
From
17/04/2000 06:51:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Tapping into TAPI
Miscellaneous
Thread ID:
00360282
Message ID:
00360282
Views:
44
Hi All,
I have been looking at including being able to dial direct ot of my App.I have seen a few samples but nothing to the extent that I am looking at. I want to learn how to control the TAPI directly but seem to find very little useful 'plain English' articles. I am only reasonably new to FoxPro and havn't had a lot to do with calls to the windows API. The following code is the closest that I have found to what I am looking for but it uses the standard Windows dialer which stays open after the call. I want to be able to control the entire process on my form and include features like poping up a msg if the line is busy, modem in use etc, and auto redial features. I know I want it all , but if its worth doing its worth doing properly. I have
checked the helpfiles on TAPI but don't understand the parameters that they are looking for. A little 'plain English' help would be much appreciated.

DECLARE LONG tapiRequestMakeCall IN "TAPI32.DLL" ;
STRING cTel, STRING cApp, STRING cUser, STRING cComment
lcTel = ALLTRIM(THISFORM.txtPhNo.VALUE)
lcApp = "empty"
lcUser = ALLTRIM(THISFORM.txtComName.VALUE)
lcComment = "empty"
nErr = tapiRequestMakeCall(lcTel,lcApp, lcUser, lcComment)
Next
Reply
Map
View

Click here to load this message in the networking platform