Discussion:
TAPI crashes after a while
(too old to reply)
Sidifen Koe
2014-03-17 08:36:05 UTC
Permalink
Hello,

I'm working with TAPI for some weeks now and sometimes I have a problem concerning TAPI initialization:

First, everything seems to work fine, but later TAPI seems to crash, the events are not recognized, calls are not possible anymore. Then, when I restart my application, it seems that the TAPI initialization command is in an infinite loop, it does not initialize anymore.

After a system reboot everything works fine again. Just logging out and logging on again does not change anything.

The crashing seems to be different from PC to PC. On some PCs it runs perfectly, on some it crashes sometimes and some where it crashes i. e. after half an hour.

On my developing PC I can reproduce it. To test some new features, I start my application, then I test and close it again. After some time, it crashes.

My application is running on Windows 7 x86 and x64 systems with Siemens phones. Programming language: VB.Net with Visual Studio 2010.

I hope you can help me or give me hints how to find a good workaround for this.

Greets, Sidifen.
Andreas Marschall [exMVP TAPI]
2014-04-30 02:37:53 UTC
Permalink
Post by Sidifen Koe
First, everything seems to work fine, but later TAPI seems to crash, the events are not recognized, calls are not possible anymore.
Programming language: VB.Net with Visual Studio 2010.
Sidifen,
please see http://support.microsoft.com/default.aspx?scid=kb;en-us;841712

Quote:
Telephony Application Programming Interface (TAPI) functionality is not supported from managed code

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.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.I-B-A-M.de/Andreas_Marschall's_Toto_Tools.htm
* Please post all messages and replies to the group / forum 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.
Loading...