Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows Telephony service Stops

88 views
Skip to first unread message

Akil Dsouza

unread,
Oct 27, 2009, 5:24:33 AM10/27/09
to

Hi Andreas,

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

Andreas Marschall [exMVP TAPI]

unread,
Oct 27, 2009, 7:42:09 AM10/27/09
to
"Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag
news:%23jrSNdu...@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.

Akil Dsouza

unread,
Oct 27, 2009, 8:38:18 AM10/27/09
to
Hi Andreas,

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...

Andreas Marschall [exMVP TAPI]

unread,
Oct 27, 2009, 10:05:08 AM10/27/09
to

"Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag
news:OYt0eJw...@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:_How_can_1

Akil Dsouza

unread,
Oct 27, 2009, 10:45:04 AM10/27/09
to
Thanks Andreas

"Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de> wrote in

message news:um5M$5wVKH...@TK2MSFTNGP02.phx.gbl...

Andreas Marschall [exMVP TAPI]

unread,
Oct 27, 2009, 10:54:16 AM10/27/09
to
"Akil Dsouza" <d.a...@teles.com> schrieb im Newsbeitrag
news:excPUQxV...@TK2MSFTNGP04.phx.gbl...
> Thanks Andreas

Akil, you are welcome.

0 new messages