General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only