Click to See Complete Forum and Search --> : modem to modem connections
Eric Smith
August 9th, 1999, 11:02 PM
Hello all.
I need to write a program that will dial a number, connect to the modem at the other end and then send a data stream. It would seem to me that with all the Internet stuff in the VS 6 package, there should be a class to handle simple modem communications. Can anyone point me in the correct direction?
Thanks.
-Eric Smith
Nilesh Gajjar
August 10th, 1999, 05:25 AM
There is no simple way / Class for this. Pl. Have a look on TAPI (Telephony API) in win32 SDK. You have to use the win32 SDK and TAPI for communication, I think there is a class in mfc, called CTAPIConnection, which may make your work easy.
good luck
-nilesh
nileshg@delhi.tcs.co.in
August 10th, 1999, 06:11 AM
a class called ctapiline is with codeguru samples
that will make ur job easier
-anand
Eric Smith
August 10th, 1999, 10:41 AM
I thank you all for your help.
I've also found CTapiConnection in the MSDN library.
Eric Smith
August 11th, 1999, 11:53 AM
Thanks for your help. I looked at tapiline, but found it was for voice connections. I need to make a data connection.
Anthony Mai
August 11th, 1999, 12:37 PM
>There is no simple way / Class for this.
>Pl. Have a look on TAPI (Telephony API)
>in win32 SDK. You have to use the win32
>SDK and TAPI for communication, I think
>there is a class in mfc, called
>CTAPIConnection, which may make your
>work easy.
That statement is not exactly right.
You can use either Win32 API OR TAPI,
but not both. I suggest you to just
use the Win32 API and forget about
the TAPI. That way your application
will work on all systems. If you use
TAPI, your user will have to install
the TAPI engine PLUS the TAPI service
provider from the manufacturer of the
modem you use. Plus not all modems
support TAPI. Many simply don't have
a TAPI service provider.
And it would seem rather ironic to
use TAPI to program modem data
connections. The capital T in TAPI
stands for Telephony. If you are
programming only a regular data
connection, it is hardly considered
a telephony applicationat all, so why
use something designed for telephony?
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.