Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Tapi Programming

Tapi Programming

Scheduled Pinned Locked Moved The Lounge
helpquestionlearning
10 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mark Tutt
    wrote on last edited by
    #1

    Does anyone have a pointer to a good reference on basic TAPI programming, or better yet a sample application that might help me out? I've been asked to take a fairly basic application that uses standard serial IO to send data packets over a modem connection and make it TAPI compliant so it can share the modem nicely with other applications. However, what I've been able to turn up is little more than a collection of phone dialers, nothing really dealing with the data, at least not in a way that makes sense when compared to the basic Read(void* Buffer, DWORD Count)/Write(const void* Buffer, DWORD Count) methods that the existing serial code uses once the connection is established. If I need to go buy a book to learn a different way of thinking, suggestions are welcome. -- The trouble with doing something right the first time, is nobody appreciates how difficult it was. ;P

    N M D V E 5 Replies Last reply
    0
    • M Mark Tutt

      Does anyone have a pointer to a good reference on basic TAPI programming, or better yet a sample application that might help me out? I've been asked to take a fairly basic application that uses standard serial IO to send data packets over a modem connection and make it TAPI compliant so it can share the modem nicely with other applications. However, what I've been able to turn up is little more than a collection of phone dialers, nothing really dealing with the data, at least not in a way that makes sense when compared to the basic Read(void* Buffer, DWORD Count)/Write(const void* Buffer, DWORD Count) methods that the existing serial code uses once the connection is established. If I need to go buy a book to learn a different way of thinking, suggestions are welcome. -- The trouble with doing something right the first time, is nobody appreciates how difficult it was. ;P

      N Offline
      N Offline
      NormDroid
      wrote on last edited by
      #2

      There's a book programming Windows 95 communications (MS Press I think) and is explains in great detail programming TAPI also theres a ton of examples. The book is at home (and I'm at work), if you want I'll send you the ISBN. Regards Norm

      M 1 Reply Last reply
      0
      • M Mark Tutt

        Does anyone have a pointer to a good reference on basic TAPI programming, or better yet a sample application that might help me out? I've been asked to take a fairly basic application that uses standard serial IO to send data packets over a modem connection and make it TAPI compliant so it can share the modem nicely with other applications. However, what I've been able to turn up is little more than a collection of phone dialers, nothing really dealing with the data, at least not in a way that makes sense when compared to the basic Read(void* Buffer, DWORD Count)/Write(const void* Buffer, DWORD Count) methods that the existing serial code uses once the connection is established. If I need to go buy a book to learn a different way of thinking, suggestions are welcome. -- The trouble with doing something right the first time, is nobody appreciates how difficult it was. ;P

        M Offline
        M Offline
        Michael P Butler
        wrote on last edited by
        #3

        My experience with TAPI is more on the Phone/PABX side rather than data. My understanding is that for data communication with TAPI, you use the tapi lineOpen related code to open the device. Use lineGetID to get a device handle and then use the relevant API functions to get the data. Not sure of any books on the subject, I pretty much learnt by trial and error. Have you looked at the samples on the Platform SDK. The TapiComm sample may be of some use. A few links that I've found useful in the past http://members.home.net/tapifaq/tapi.htm http://www.julmar.com The microsoft tapi newsgroups are also useful places for asking questions. Michael :-)

        M 1 Reply Last reply
        0
        • N NormDroid

          There's a book programming Windows 95 communications (MS Press I think) and is explains in great detail programming TAPI also theres a ton of examples. The book is at home (and I'm at work), if you want I'll send you the ISBN. Regards Norm

          M Offline
          M Offline
          Mark Tutt
          wrote on last edited by
          #4

          Is it this one? http://www.amazon.com/exec/obidos/ASIN/1556156685/qid%3D/002-9550121-8824026

          1 Reply Last reply
          0
          • M Michael P Butler

            My experience with TAPI is more on the Phone/PABX side rather than data. My understanding is that for data communication with TAPI, you use the tapi lineOpen related code to open the device. Use lineGetID to get a device handle and then use the relevant API functions to get the data. Not sure of any books on the subject, I pretty much learnt by trial and error. Have you looked at the samples on the Platform SDK. The TapiComm sample may be of some use. A few links that I've found useful in the past http://members.home.net/tapifaq/tapi.htm http://www.julmar.com The microsoft tapi newsgroups are also useful places for asking questions. Michael :-)

            M Offline
            M Offline
            Mark Tutt
            wrote on last edited by
            #5

            I found tapicomm after much searching (They've really got it buried in the SDK), but haven't been able to grasp how to apply it to my project. It's a fairly large sample, and I've been trying to peel it down to the basic stuff I need. I had hoped there was a way to simply rewrite my Serial class using TAPI, but it seems like I'll have to rework the whole thing, TAPI seems to be a much more complicated way of doing things for basic data communications. Thanks for posting the links, I'll check them out. Mark

            M 1 Reply Last reply
            0
            • M Mark Tutt

              I found tapicomm after much searching (They've really got it buried in the SDK), but haven't been able to grasp how to apply it to my project. It's a fairly large sample, and I've been trying to peel it down to the basic stuff I need. I had hoped there was a way to simply rewrite my Serial class using TAPI, but it seems like I'll have to rework the whole thing, TAPI seems to be a much more complicated way of doing things for basic data communications. Thanks for posting the links, I'll check them out. Mark

              M Offline
              M Offline
              Michael P Butler
              wrote on last edited by
              #6

              If you need any help with the TAPI side, I have a fair bit of experience with Enumerating and opening the devices and the like. So I'd be glad to help. I am slowly working on a TAPI class library which I hope to post to CodeProject in the future. Michael :-)

              M 1 Reply Last reply
              0
              • M Mark Tutt

                Does anyone have a pointer to a good reference on basic TAPI programming, or better yet a sample application that might help me out? I've been asked to take a fairly basic application that uses standard serial IO to send data packets over a modem connection and make it TAPI compliant so it can share the modem nicely with other applications. However, what I've been able to turn up is little more than a collection of phone dialers, nothing really dealing with the data, at least not in a way that makes sense when compared to the basic Read(void* Buffer, DWORD Count)/Write(const void* Buffer, DWORD Count) methods that the existing serial code uses once the connection is established. If I need to go buy a book to learn a different way of thinking, suggestions are welcome. -- The trouble with doing something right the first time, is nobody appreciates how difficult it was. ;P

                D Offline
                D Offline
                dfields326
                wrote on last edited by
                #7

                from what I have read and heard that TurboPower software Asyc Professional is a excellent 3rd part ActiveX or Delphi/C++ Builder VCL component http://www.turbopower.com/products/APAX/ About the only other one out there is SaxComm Objects 7.0 and 8.0 Have used SaxComm Objects 6.0 and 7.0. Well the 6.0 version (non-tapi) control was not bad at all. The 7.0 version I had nearly reverse engineer the ocx file to make it work. Using Duel Interfaces MFC/ATL. thats my 2cents worth on 3rd part TAPI components

                1 Reply Last reply
                0
                • M Michael P Butler

                  If you need any help with the TAPI side, I have a fair bit of experience with Enumerating and opening the devices and the like. So I'd be glad to help. I am slowly working on a TAPI class library which I hope to post to CodeProject in the future. Michael :-)

                  M Offline
                  M Offline
                  Mark Tutt
                  wrote on last edited by
                  #8

                  I noticed the section here was empty... ;) I'll see how far I get, what I want will (hopefully) be pretty simple. I'll shoot an email your way if I get stuck!

                  1 Reply Last reply
                  0
                  • M Mark Tutt

                    Does anyone have a pointer to a good reference on basic TAPI programming, or better yet a sample application that might help me out? I've been asked to take a fairly basic application that uses standard serial IO to send data packets over a modem connection and make it TAPI compliant so it can share the modem nicely with other applications. However, what I've been able to turn up is little more than a collection of phone dialers, nothing really dealing with the data, at least not in a way that makes sense when compared to the basic Read(void* Buffer, DWORD Count)/Write(const void* Buffer, DWORD Count) methods that the existing serial code uses once the connection is established. If I need to go buy a book to learn a different way of thinking, suggestions are welcome. -- The trouble with doing something right the first time, is nobody appreciates how difficult it was. ;P

                    V Offline
                    V Offline
                    Vagif Abilov
                    wrote on last edited by
                    #9

                    Windows Telephony Programming by Chris Sells (currently working for DevelopMentor). Addison Wesley. The book is a bit old, but still very good. Vagif Win32/ATL/MFC Developer Oslo, Norway

                    1 Reply Last reply
                    0
                    • M Mark Tutt

                      Does anyone have a pointer to a good reference on basic TAPI programming, or better yet a sample application that might help me out? I've been asked to take a fairly basic application that uses standard serial IO to send data packets over a modem connection and make it TAPI compliant so it can share the modem nicely with other applications. However, what I've been able to turn up is little more than a collection of phone dialers, nothing really dealing with the data, at least not in a way that makes sense when compared to the basic Read(void* Buffer, DWORD Count)/Write(const void* Buffer, DWORD Count) methods that the existing serial code uses once the connection is established. If I need to go buy a book to learn a different way of thinking, suggestions are welcome. -- The trouble with doing something right the first time, is nobody appreciates how difficult it was. ;P

                      E Offline
                      E Offline
                      Erik Funkenbusch
                      wrote on last edited by
                      #10

                      Depends on which TAPI you mean. TAPI 3.0 (in Win2k and WinXP) is entirely different from previous versions of TAPI (though the previous versions are still supported). TAPI 3.0 is COM based (like DirectX, etc..) while TAPI 2.x and earlier were C callback based. If you intend only to target Win2k+, then don't bother with the older books, if you intend to target everything, then you're stuck with the old TAPI interface.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups