Re: How do I stop a TSP written in Delphi crashing on Add Provider?
- From: "Paul Soper" <paul_soper@xxxxxxxxxxx>
- Date: Tue, 26 Apr 2005 00:36:47 -0000
----- Original Message -----
From: "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx>
Newsgroups: microsoft.public.win32.programmer.tapi
Sent: Monday, April 25, 2005 11:05 PM
Subject: Re: How do I stop a TSP written in Delphi crashing on Add
Provider?
> Paul, I'm not familiar with Delphi (so this answers Q1 and Q2).
>
> Q3: you may want to implement TSPI_providerEnumDevices and fill in
> *lpdwNumLines and *lpdwNumPhones.
> In addition implement TSPI_lineGetDevCaps /
> TSPI_lineGetAddressCaps.
>
> You need to implement TSPI_providerInstall and return 0;
> You should do this for all TSPI_ functions that have TUISPI_
> correspondences
> (e.g. TSPI_/TUISPI_providerConfig).
> These are required for the Telephony CPL.
>
> Q4: No, but to prevent the need for reboot
> See my TAPI and TSPI FAQ:
> Q: How can I stop TAPISRV process (if Telephony Service is not
> responding in
> Service Control Manager) ?
> http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_How_can_2
>
> --
> Best Regards
> Andreas Marschall
> Microsoft MVP for TAPI / Windows SDK
> TAPI / TSP Developer and Tester
> http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
> * 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.
Andreas,
Thanks for the *very* quick reply and the information. I will
implement the functions you have suggested and follow up here. I
don't expect many people develop TSPs in Delphi, but maybe one day
this will help someone. I have a hardware simulation and interface
layer in Delphi and would like to write the TSP using the same
language [if just not for the challenge :-)]. However, if the
pressure is on, I can easily write it in C instead and use exported
functions to link the two pieces of software together.
I have tried using tracing (as per previous postings) using "netsh
ras set tracing" on tapisrv and tapi32, but the logs don't seem to
yield anything useful.
With regards to answer 4: unfortunately, I can't even get to that
stage as Windows literally falls apart and nothing responds... my
TSP is obviously causing the OS major hassles. Keep up the good work
on your website; its a pretty impressive resource for all TAPI
developers (thanks).
Regards
Paul
.
- Follow-Ups:
- Re: How do I stop a TSP written in Delphi crashing on Add Provider?
- From: Andreas Marschall [MVP TAPI]
- Re: How do I stop a TSP written in Delphi crashing on Add Provider?
- References:
- How do I stop a TSP written in Delphi crashing on Add Provider?
- From: Paul Soper
- Re: How do I stop a TSP written in Delphi crashing on Add Provider?
- From: Andreas Marschall [MVP TAPI]
- How do I stop a TSP written in Delphi crashing on Add Provider?
- Prev by Date: How do I stop a TSP written in Delphi crashing on Add Provider?
- Next by Date: about tapi question.
- Previous by thread: Re: How do I stop a TSP written in Delphi crashing on Add Provider?
- Next by thread: Re: How do I stop a TSP written in Delphi crashing on Add Provider?
- Index(es):
Relevant Pages
|