Tapi Programming
-
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
-
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
-
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
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 :-)
-
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
-
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 :-)
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
-
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
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 :-)
-
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
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
-
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 :-)
-
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
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
-
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
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.