>Hi Dave,
>
>You may consider using 32-bit Windows API. See
Re: Dialer does not work under XP. Message #
803626.
>
>>will the following code
>>
>>
>>SET LIBRARY TO foxtools.fll
>>
>>OPENCOMM = REGFN("OpenComm", "CII", "I")
>>WRITECOMM = REGFN("WriteComm", "ICI", "I")
>>CLOSECOMM = REGFN("CloseComm", "I", "I")
>>ATCommand = "ATDT" + NUMTODIAL + CHR(13)
>>COM1 = CALLFN(OPENCOMM, "COM1:", 100, 100)
>>=CALLFN(WRITECOMM, COM1, ATCommand, LEN(S))
>>ATCommand = "ATH0" + CHR(13)
>>=CALLFN(WRITECOMM, COM1, ATCommand, LEN(S))
>>=CALLFN(CLOSECOMM, COM1)
>>
>>
>>work inside a foxpro project built into a .dll ?
>>
>>
>>Of couse I'll define the class library as OLEPUBLIC
>>and so forth.
>>
>>As long as I avoiding any user interface functions can I use the functions inside Foxtools.fll from within a .dll ?
I got the autodialer working inside a foxpro .dll file.
It works great.
Dave.