简体   繁体   中英

TAPI Versioning

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

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM