Re: How do I stop a TSP written in Delphi crashing on Add Provider?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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


.



Relevant Pages

  • Re: E_NOINTERFACE error
    ... > people getting frustrated with TAPI. ... > best Regards ... >>> interrupt the file play as soon as the caller presses any digit on his ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Hello... Im a newbie here. This is my introduction.
    ... >> Delphi for many years. ... >> Regards, ... I use Windows XP Home Edition SP2. ... > There are a number of free Modula-2 compilers, ...
    (comp.lang.modula2)
  • Re: RemObjects Software welcomes Mike Orriss as Documentation Manager
    ... > and Delphi became the natural switch when the windows version of the ... > Magazine and several years working for Developer Express writing papers & ... > regards as home). ... > intends to move closer to the coast to a smaller house. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Renaming Remotesp.tsp
    ... Chris Trabing ... > Best Regards ... > Microsoft MVP for TAPI / Windows SDK ... > * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: E_NOINTERFACE error
    ... >> interrupt the file play as soon as the caller presses any digit on his ... > Best Regards ... > Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)