Discussion:
Debugging,Tracing and Understanding the Sample TSP
(too old to reply)
Ravi Kansangara
2013-12-07 05:07:31 UTC
Permalink
Hi,
Thanks for your reply to my query.I am happy u sent me the debugger
tool for
understanding about Sample TSP.But, still i have another problem.I am
not able to change the atsp.c in the Sample TSP from Microsoft and
compile it to generate my customized version of TSP.The makefile
utility from command line works fine by creating a TSP.But,i am not
able to compile from the VC++ Editor.I get about 102 Errors.Anything
has to be included to make me compile the atsp.c fine.I would like u
to tell me on how i proceed to compile and test my TSP.I would like to
customize it for myself.
Hi JavaGuy_blr,

- TSP is nothing but simply a .dll (Dynamic Link Library) file.

- That DLL includes TSPI functions body.

- TSPI functions must be exposed (export) to TAPISRV.exe using .def file.

- So Create new Win32 DLL Project in VC++ & Copy atsp files.

- To remove compilation errors, remove some dependencies that you don't need at this stage.

- After you build project successfully, you will get atsp32.dll file.

- Just rename atsp32.dll to atsp32.tsp & you have your own TSP.

- For debugging you can use file or UDP, TCP port.
Andreas Marschall [exMVP TAPI]
2014-02-05 08:01:00 UTC
Permalink
Post by Ravi Kansangara
Hi JavaGuy_blr,
- TSPI functions must be exposed (export) to TAPISRV.exe using .def file.
Ravi,
besides the fact that you are answering a posting more the 10 years old,
this is wrong for post NT4 OS.
Only up to Win NT4 TAPISRV was implemented as an Exe.
Post NT4 it is implemented as a DLL running within a SvcHoste.exe process.
--
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
* Please post all messages and replies to the group / forum 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.
Loading...