Discussion:
Tapi and C#
(too old to reply)
Vuong
2005-04-05 09:47:01 UTC
Permalink
Anyone have any examples about Tapi and C#
Thanks
Mubashir Khan
2005-04-05 13:22:21 UTC
Permalink
for tapi 2 check
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Toc84402464

and for tapi 3 check samples in psdk. It is COM so there wont be any problem
in .NET

enjoy
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Grant Schenck
2005-04-05 13:29:54 UTC
Permalink
While I don't work with TAPI 3.x particularly using TAPI 3 from .NET has
many problems.

Refer to the Microsoft KB article ""841712 - Telephony Application
Programming Interface (TAPI) functionality is not supported from managed
code"
--
Grant Schenck
http://grantschenck.tripod.com
Post by Mubashir Khan
for tapi 2 check
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Toc84402464
Post by Mubashir Khan
and for tapi 3 check samples in psdk. It is COM so there wont be any problem
in .NET
enjoy
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Vuong
2005-04-06 05:35:01 UTC
Permalink
But I found example all written by C++. I just want to see some code in C#.
That mean i don't have to write dll from C++, but directly from C#
Thanks
Post by Mubashir Khan
for tapi 2 check
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Toc84402464
and for tapi 3 check samples in psdk. It is COM so there wont be any problem
in .NET
enjoy
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Grant Schenck
2005-04-06 12:13:05 UTC
Permalink
What is your questions/issue?

You can not use TAPI 3.x from .Net.
--
Grant Schenck
http://grantschenck.tripod.com
Post by Vuong
But I found example all written by C++. I just want to see some code in C#.
That mean i don't have to write dll from C++, but directly from C#
Thanks
Post by Mubashir Khan
for tapi 2 check
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Toc84402464
Post by Vuong
Post by Mubashir Khan
and for tapi 3 check samples in psdk. It is COM so there wont be any problem
in .NET
enjoy
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Vuong
2005-04-11 05:47:02 UTC
Permalink
the question is that :
From the example in Platform SDK is written by C++.
I just want to find the exactly the same type of this example but written
by C#. But for the reason that tapi is not supported by .net. So my way is to
write something for Tapi to work well with .NET
Am i right ??
If yes, what kind of thing i will write ?? dll ?
Post by Grant Schenck
What is your questions/issue?
You can not use TAPI 3.x from .Net.
--
Grant Schenck
http://grantschenck.tripod.com
Post by Vuong
But I found example all written by C++. I just want to see some code in
C#.
Post by Vuong
That mean i don't have to write dll from C++, but directly from C#
Thanks
Post by Mubashir Khan
for tapi 2 check
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Toc84402464
Post by Vuong
Post by Mubashir Khan
and for tapi 3 check samples in psdk. It is COM so there wont be any
problem
Post by Vuong
Post by Mubashir Khan
in .NET
enjoy
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Andreas Marschall [MVP TAPI]
2005-04-11 12:50:55 UTC
Permalink
Post by Vuong
From the example in Platform SDK is written by C++.
I just want to find the exactly the same type of this example but written
by C#. But for the reason that tapi is not supported by .net. So my way is to
write something for Tapi to work well with .NET
Am i right ??
If yes, what kind of thing i will write ?? dll ?
Vuong,
you may want to take a look at Helen's C# wrapper.
See my TAPI and TSPI FAQ:
Q: Are there any .NET wrappers for TAPI2 available ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Are_there_4
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Vuong
2005-04-12 03:16:02 UTC
Permalink
Following Microsoft : You can call TAPI 3.x (Tapi3.dll) functionality from
unmanaged code. Create an unmanaged DLL that calls TAPI 3.x functionality,
and then call the unmanaged DLL from managed code.
And following Helen Warn : when try to use Tapi 3.x with C#. It doesn't
work well.
I'm just confused !!!! Anyone try this !!!
Post by Andreas Marschall [MVP TAPI]
Post by Vuong
From the example in Platform SDK is written by C++.
I just want to find the exactly the same type of this example but written
by C#. But for the reason that tapi is not supported by .net. So my way is
to
Post by Vuong
write something for Tapi to work well with .NET
Am i right ??
If yes, what kind of thing i will write ?? dll ?
Vuong,
you may want to take a look at Helen's C# wrapper.
Q: Are there any .NET wrappers for TAPI2 available ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Are_there_4
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Andreas Marschall [MVP TAPI]
2005-04-12 03:50:45 UTC
Permalink
Post by Vuong
Following Microsoft : You can call TAPI 3.x (Tapi3.dll) functionality from
unmanaged code. Create an unmanaged DLL that calls TAPI 3.x functionality,
and then call the unmanaged DLL from managed code.
And following Helen Warn : when try to use Tapi 3.x with C#. It doesn't
work well.
I'm just confused !!!! Anyone try this !!!
Vuong,
please note that Helen Warn's C# Wrapper is for TAPI2.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Vuong
2005-04-12 04:13:02 UTC
Permalink
Yes, this C# wrapper is for Tapi2. And I mention about Tapi3.
Because I want to use Tapi3 for my project. Following Helen Warn, it
doesn't work well with .Net. I just wonder why ? Does anyone try this ?

Following Microsoft : You can call TAPI 3.x (Tapi3.dll) functionality from
unmanaged code. Create an unmanaged DLL that calls TAPI 3.x functionality,
and then call the unmanaged DLL from managed code.

It makes me confuse when to use Tapi3.
Vuong
2005-04-12 04:17:01 UTC
Permalink
The question is : "Does Tapi3 work well with .Net ?". It make me confuse.
Post by Andreas Marschall [MVP TAPI]
Post by Vuong
Following Microsoft : You can call TAPI 3.x (Tapi3.dll) functionality from
unmanaged code. Create an unmanaged DLL that calls TAPI 3.x functionality,
and then call the unmanaged DLL from managed code.
And following Helen Warn : when try to use Tapi 3.x with C#. It doesn't
work well.
I'm just confused !!!! Anyone try this !!!
Vuong,
please note that Helen Warn's C# Wrapper is for TAPI2.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Andreas Marschall [MVP TAPI]
2005-04-05 13:27:37 UTC
Permalink
Post by Vuong
Anyone have any examples about Tapi and C#
Vuong, in addition to Mubashir's reply
Regarding TAPI and .NET see KB article "841712 - Telephony Application
Programming Interface (TAPI) functionality is not supported from managed
code".
See my TAPI and TSPI FAQ:

Q: Is there any sample code available ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there

Q: Are there any KB articles on TAPI available ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Are_there_7

Q: Are there any .NET wrappers for TAPI2 available ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Are_there_4
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Bishoy Ghaly
2005-04-06 17:44:16 UTC
Permalink
You Can program TAPI 3.x in .net and specially C# and the proof is my
example in VB.net
and here is the url: http://www.vbcity.com/forums/topic.asp?tid=88933
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Grant Schenck
2005-04-06 18:09:52 UTC
Permalink
Whatever. Bottom line is many users have reported issues (search this NG)
and MS specifically says it won't hold up, i.e.:

KB article 841712 "Because of the complexity of the TAPI 3.x Component
Object Model (COM) interface, the managed wrapper that is created by
Microsoft Visual Studio .NET does not work. Therefore, you cannot call TAPI
functionality from managed code."
--
Grant Schenck
http://grantschenck.tripod.com
Post by Bishoy Ghaly
You Can program TAPI 3.x in .net and specially C# and the proof is my
example in VB.net
and here is the url: http://www.vbcity.com/forums/topic.asp?tid=88933
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Helen Warn
2005-04-06 18:24:51 UTC
Permalink
I originally tried using Tapi 3 from .NET. My program worked for awhile,
then suddenly I started to run into horrendous problems. Finally a support
call to Microsoft convinced me that my options were either to (i) write a
RCW for Tapi 3 (they offered to publicize it widely if I did) or (ii) use
Tapi 2. I chose the latter.

Cheers,

Helen
Post by Grant Schenck
Whatever. Bottom line is many users have reported issues (search this NG)
KB article 841712 "Because of the complexity of the TAPI 3.x Component
Object Model (COM) interface, the managed wrapper that is created by
Microsoft Visual Studio .NET does not work. Therefore, you cannot call TAPI
functionality from managed code."
--
Grant Schenck
http://grantschenck.tripod.com
Post by Bishoy Ghaly
You Can program TAPI 3.x in .net and specially C# and the proof is my
example in VB.net
and here is the url: http://www.vbcity.com/forums/topic.asp?tid=88933
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Eric Keij
2005-04-06 18:51:43 UTC
Permalink
Does anybody know of Microsoft is going to support TAPI from managed .NET
code in the near future? Since the current COM wrapper does not work, will
it be dropped from Visual Studio 2005, or will a new version be released?

Thanks!
Post by Vuong
Anyone have any examples about Tapi and C#
Thanks
Andreas Marschall [MVP TAPI]
2005-04-07 00:54:28 UTC
Permalink
Post by Eric Keij
Does anybody know of Microsoft is going to support TAPI from managed .NET
code in the near future? Since the current COM wrapper does not work, will
it be dropped from Visual Studio 2005, or will a new version be released?
Eric,
AFAIK it is currently not planned to support TAPI from managed .NET code.

See some suggestions regarding this topic on MSDN Product Feedback Center:
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=979f3726-2f9e-4e02-a7d1-0397c77dc74b
and
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=c78311c3-f141-4987-91ce-3adfc9d76de6
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
Continue reading on narkive:
Loading...