The windows telephony service gets stopped automatically after some time of debugging my TSP. But no errors/error messages during Debugging. How to debug this problem inside the TSP, that causes the windows telephony service to stop. I am using VC++ 2008 for debugging my TSP by attaching it to TAPISRV(Attact to TAPISRV plug in to VS-2008)
> The windows telephony service gets stopped automatically after some time > of > debugging my TSP. But no errors/error messages during Debugging.
Akil, was there still a TAPI application active, i.e.TAPI was initialitzed, at that time? Was the TAPISRV process stopped in the debugger (by a breakpoint) or were you manually stepping through the code or was it running normally in the debugger?
Bachground for my questions: when TAPI isn't initialized by any TAPI app anymore, i.e. lineShutdown by all apps, then TAPISRV stopps itself after about 30 seconds. This would neither be a TSP nor TAPISRV issue - it's by design of TAPISRV.
-- 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 TAPI development around the world (Frappr! map): http://www.frappr.com/TAPIaroundTheWorld * 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.
No, There were no TAPI applications active. I was running the TSP with Debugger(Attached to TAPISRV). When I closed phone.exe the Debugger was still running But after say 1- minute debugging get stopped, and when I checked the Windows Telephony Service, it was stopped. If this is a behaviour by design then I have no issues. That means, the windows telephony service gets restarted again when the phone.exe is opened again?
> "Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag > news:%23jrSNduVKHA.3696@TK2MSFTNGP02.phx.gbl... >> The windows telephony service gets stopped automatically after some time >> of >> debugging my TSP. But no errors/error messages during Debugging.
> Akil, > was there still a TAPI application active, i.e.TAPI was initialitzed, at > that time? > Was the TAPISRV process stopped in the debugger (by a breakpoint) or were > you manually stepping through the code or was it running normally in the > debugger?
> Bachground for my questions: when TAPI isn't initialized by any TAPI app > anymore, i.e. lineShutdown by all apps, then TAPISRV stopps itself after > about 30 seconds. > This would neither be a TSP nor TAPISRV issue - it's by design of TAPISRV.
> -- > 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 > TAPI development around the world (Frappr! map): > http://www.frappr.com/TAPIaroundTheWorld > * 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.
> No, There were no TAPI applications active. I was running the TSP with > Debugger(Attached to TAPISRV). When I closed phone.exe the Debugger was > still running > But after say 1- minute debugging get stopped, and when I checked the > Windows Telephony Service, it was stopped. If this is a behaviour by > design then I have no issues.
Akil, exactly, this is by design.
> That means, the windows telephony service gets restarted again when the > phone.exe is opened again?
Yes, but... presumably in another process, so your attached debugger doesn't get it.
I suggest to simply leave ony TAPI app constantly have TAPI initialized, except you are debugging TSPI_providerInt() / TSPI_providerShutdown() issues. For those case a DebugBreak() in TSPI_providerEnumDevices() may help. Or launching TAPISRV in the debugger may be a solution. For details see my TAPI and TSPI FAQ: Q: How can I debug a TSP ? http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_H...
-- 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 TAPI development around the world (Frappr! map): http://www.frappr.com/TAPIaroundTheWorld * 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.
> "Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag > news:OYt0eJwVKHA.508@TK2MSFTNGP06.phx.gbl... >> No, There were no TAPI applications active. I was running the TSP with >> Debugger(Attached to TAPISRV). When I closed phone.exe the Debugger was >> still running >> But after say 1- minute debugging get stopped, and when I checked the >> Windows Telephony Service, it was stopped. If this is a behaviour by >> design then I have no issues.
> Akil, > exactly, this is by design.
>> That means, the windows telephony service gets restarted again when the >> phone.exe is opened again?
> Yes, but... > presumably in another process, so your attached debugger doesn't get it.
> I suggest to simply leave ony TAPI app constantly have TAPI initialized, > except you are debugging TSPI_providerInt() / TSPI_providerShutdown() > issues. > For those case a DebugBreak() in TSPI_providerEnumDevices() may help. > Or launching TAPISRV in the debugger may be a solution. > For details see my TAPI and TSPI FAQ: > Q: How can I debug a TSP ? > http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_H...
> -- > 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 > TAPI development around the world (Frappr! map): > http://www.frappr.com/TAPIaroundTheWorld > * 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.
-- 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 TAPI development around the world (Frappr! map): http://www.frappr.com/TAPIaroundTheWorld * 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.