Re: Writing a TSP

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 01/13/05


Date: Thu, 13 Jan 2005 18:16:30 +0100


"B. T. Heerebout" <bram@key-link.com> schrieb im Newsbeitrag
news:1105611221.933661.118210@f14g2000cwb.googlegroups.com...
> Dear Andreas,
>
> I have to work on another project the coming weeks but I'm sure I'll be
> getting back on my diffuculties on the writing of a TSP. What I have
> come up with so far:
>
> I've looked at the Julmar files again. It surely provides very useful
> classes of phones, calls, connections etc. but sadly I couldn't find
> what I was looking for (source of a TSP that can be added and removed
> without problems). So I went back to Micheal Dunns site, found his old
> Platform SDK files and it worked! Allthough it took some effort. Mixing
> platforms isn't all easy. My new platform sdk doesn't install in the
> old standard folders but in \Program Files\Microsoft Platform SDK for
> Windows XP SP2.

Are you using the P-SDK for XP/SP2
That is only for XP/SP2 specific stuff.
For TAPI you need the P-SDK from Feb.2003.
This is for all OS (not only WS2k3).

> Add to that some incompatibilities of the linker and
> used dll's and you've got a good challenge. I failed. Then I tried
> compiling from the IDE. His instructions weren't all clear ("Do a Open
> Workspace" <- What open workspace? a new workspace?) but I allready
> knew how to convert a makefile into a project and it worked! I compiled
> the TSP copied it to the System32 folder and was able to add/remove it!
> It's great that this works, but who uses the tsp example in the new
> Platform SDK? Does it work for anybody?

Did you already do a WinDiff on the source codes?
Seems like only atsp.c is a little bit different:
- lstrXXX() replaced by strnXXX()
- wvsprintf() replaced by _vsnwprintf()
- some size corrections
- DrvAlloc() sanity checks added

> Now it's time to confess I'm a delphi programmer. That's why I can't
> just start building from here. I have to understand what happens and
> then translate it. The problem is that I don't see any functional
> difference.

O.k., I'm not familiar with Delphi.
As a TSP developer I'm using C++.

> As said I'll get back to you. First I have to interface the easy csta
> of the connexity :-) and go snowboarding :-))

O.k., have fun - at least with the snow.

> Thanks for all the help so far,

You are welcome.

> Did you know Alexander Staubo wrote some tapi stuff as well back in 97?

No, I didn't

> It includes a skeleton TSP in Delphi. It's just the headers but might
> be useful for other Delphi programmers who read your FAQ. Here's his
> link:
>
> http://www.delphi32.com/vcl/2060/

Thanks for the link.
I will add to my FAQ.

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


Relevant Pages

  • Re: Tapi automatically
    ... Matthias, Andreas ... I'm using windowsXP, so i don't have phone dialer installed. ... I turn to use the original example of Platform SDK (just compile and run). ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Newbie Help Request - Inbound Call and Record to Wav over Unimodem TSP
    ... Thanks for the Faq links, Andreas. ... inbound call and present the Tapi Event CALL_CONNECTED state. ... > there is absolutely no problem with newbie postings. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Read / Write Data
    ... Thanks Andreas! ... With your FAQ and TAPICOMM's help I know have a fairly nice communications library built and I am using it with great success!~ ... > See my TAPI and TSPI FAQ: ...
    (microsoft.public.win32.programmer.tapi)
  • Re: do you want help with your TAPI code in VB.NET 2003 ?
    ... > i didnt find my post in your FAQ! ... Andreas Marschall ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: URGENT: NEED HELP WITH TAPI
    ... Start by reviewing Andreas' FAQ, linked off the bottom of my web page. ... You can't use TAPI 3 from .NET. ... with the caller who will be calling from a phone. ...
    (microsoft.public.win32.programmer.tapi)