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)
Regards,
Akil
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?
Regards,
Akil
"Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de> wrote in
message news:eYxjqqvV...@TK2MSFTNGP04.phx.gbl...
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:_How_can_1
"Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de> wrote in
message news:um5M$5wVKH...@TK2MSFTNGP02.phx.gbl...
Akil, you are welcome.