TAPI 版本控制

发布于 2024-07-09 03:18:05 字数 43 浏览 6 评论 0原文

使用 C# 获取 TAPI 版本和其他 TAPI 信息的最佳方法是什么?

What is the best way to get the TAPI version and additional TAPI information with C#?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

℡Ms空城旧梦 2024-07-16 03:18:05

互操作。

使用 lineInitializeEx 函数的 lpdwAPIVersion 参数。
http://msdn.microsoft.com/en-us /library/ms735983(VS.85).aspx

“成功完成此请求后,此位置将填充 TAPI 支持的最高 API 版本,从而允许应用程序检测并适应已安装在具有不同版本 TAPI 的系统。”

当您编写 TAPI 时,您迟早必须开始使用 Interop 调用。

Interop.

Use the lpdwAPIVersion parameter of the lineInitializeEx function.
http://msdn.microsoft.com/en-us/library/ms735983(VS.85).aspx

"Upon successful completion of this request, this location is filled with the highest API version supported by TAPI, thereby allowing the application to detect and adapt to having been installed on a system with a different version of TAPI."

You're going to have to start plugging away with Interop calls sooner or later when you're programming TAPI.

为人所爱 2024-07-16 03:18:05

还有一些很棒的库和控件(例如一组 ActiveX 控件)可以使 TAPI 编程变得极其简单。 处理 API 级别代码、PInvoke、回调等可能非常乏味。 您可以快速在线搜索,看看其中一个选项是否适合您。

There are also some great libraries and controls (for example a set of ActiveX controls) that can make TAPI programming extremely easy. Dealing with API level code, PInvoke, callbacks, etc. can be very tedious. You can do a quick online search and see if one of those options would work for you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文