Hi All,

Does anybody have a sample code for using a telephiony API from VFP?
Where can I find the examples on how to implement auto-dialing from VFP
application?

Thanks,
Andy

Re: How to dial a phone number from VFP? by Jan

Jan
Fri May 06 03:15:44 CDT 2005

declare long tapiRequestMakeCall in "tapi32.dll";
string DestAddress,;
string AppName,;
string CalledParty,;
string Comment

cPhoneNumber="123456789"
tapiRequestMakeCall(cPhoneNumber,"","","")



Andy Summers napsal(a):
> Hi All,
>
> Does anybody have a sample code for using a telephiony API from VFP?
> Where can I find the examples on how to implement auto-dialing from VFP
> application?
>
> Thanks,
> Andy
>
>

Re: How to dial a phone number from VFP? by Jan

Jan
Fri May 06 03:18:09 CDT 2005

Or if you need autodial (internet connection?):

#DEFINE INTERNET_AUTODIAL_FORCE_ONLINE 1
#DEFINE INTERNET_AUTODIAL_FORCE_UNATTENDED 2
#DEFINE INTERNET_AUTODIAL_FAILIFSECURITYCHECK 4

DECLARE INTEGER GetActiveWindow IN user32

DECLARE INTEGER InternetDial IN wininet;
INTEGER hwndParent, STRING lpszConnectoid, INTEGER dwFlags,;
INTEGER @lpdwConnection, INTEGER dwReserved

LOCAL hConnection
hConnection = 0

? InternetDial (GetActiveWindow(), "MyDUNConnectionName",;
INTERNET_AUTODIAL_FORCE_ONLINE, @hConnection, 0)



Andy Summers napsal(a):
> Hi All,
>
> Does anybody have a sample code for using a telephiony API from VFP?
> Where can I find the examples on how to implement auto-dialing from VFP
> application?
>
> Thanks,
> Andy
>
>