CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    May 1999
    Location
    CA
    Posts
    188

    modem to modem connections

    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



  2. #2
    Join Date
    Apr 1999
    Posts
    13

    Re: modem to modem connections

    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
    [email protected]


  3. #3
    Guest

    Re: modem to modem connections

    a class called ctapiline is with codeguru samples
    that will make ur job easier
    -anand


  4. #4
    Join Date
    May 1999
    Location
    CA
    Posts
    188

    Re: modem to modem connections

    I thank you all for your help.

    I've also found CTapiConnection in the MSDN library.



  5. #5
    Join Date
    May 1999
    Location
    CA
    Posts
    188

    Re: modem to modem connections

    Thanks for your help. I looked at tapiline, but found it was for voice connections. I need to make a data connection.



  6. #6
    Join Date
    Jun 1999
    Location
    San Diego, CA
    Posts
    600

    Re: modem to modem connections

    >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?




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured