Re: TSP in Windows Vista

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



Matthias Moetje,

One kind guy, Bruno Javary, sent me an email, saying that he(or she) had
similar problem to mine after seeing my post in this newsgroup.
He told me that he saw a web site, in Franch, that was saying that
checking the certificate signing was applied only to 64bit Vista.
If it is true - it seems true to me - my problem may have other reason
that I don't know right now.

I've already tried to enable log of TAPISRV.
The log said that calling my TSPI_providerEnumDevices() returned
0x80000048(LINEERR_OPERATIONFAILED), but, any of my TSP functions
(including my TSPI_providerEnumDevices()) was not called, and my TSP
was not attached(loaded) to the TAPISRV(one of svchost.exe)

This is my current situation.

I really appreciate all of your advices and help.
And, to Andreas Marschall, too.

Thank you.

Best Regards,
Sang-Ho Yang


"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
news:edx2Y5ztHHA.2124@xxxxxxxxxxxxxxxxxxxxxxx
Sang-Ho,

that seems really strange. Apart from security related stuff there
weren't any major changes to the tapi server in Vista.

If your TSP works well on other OS versions I am running out
of ideas...

As to our build environment:

VC++ 8.0, Platform SDK for Win2003R2, the TSP is not using
MFC (but some ATL stuff). VC libs are linked dynamically.
The TSPUI functions are in a separate dll (using MFC).

I don't think that changing the compiler or the PSDK version would
solve your problem.

You can try to enable logging for TAPISRV to see if any error
is logged:

netsh ras set tracing tapisrv enable

You can find the trace file in %WINDIR%\tracing


Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstra? 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------
"Sang-Ho Yang" <yavatar@xxxxxxxxxxxxx> wrote in message
news:urmfOAttHHA.5072@xxxxxxxxxxxxxxxxxxxxxxx
Dear Matthias Moetje,

I received your unsigned version of the TSP.
Thank you so much.

Unfortunately to me, your unsigned TSP also works well on my Vista.
I could see your SIP line from your simple call application and Tb20.exe.
The certification doesn't seem to be the reason of my problem.
So sad... :-(

I think I should remake a simple TSP with some tools similar to yours.
Can I get some information about your TSP ?
- Compiler : VC++ 6.0 ? VC++ .Net 2005 ? or else ?
- SDK : Feb-2003 ? or else ?
- DLL style : Win32 DLL ? MFC AppWizard DLL (Regular DLL or MFC Extension
DLL) ?

Thank you.

Best Regards,
Sang-Ho Yang


"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
news:OSh6JFOtHHA.2124@xxxxxxxxxxxxxxxxxxxxxxx
Hmpf, seems to be not as easy as I had expected... I thought
signtool.exe had an option
to remove a signature but it seems it doesn't.

I have sent an unsigned version of the TSP to your e-mail address...

Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstra? 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------

"Sang-Ho Yang" <yavatar@xxxxxxxxxxxxx> wrote in message
news:%23zW%23wA7sHHA.4952@xxxxxxxxxxxxxxxxxxxxxxx
Matthias Moetje,

I'm willing to do it for myself.
Thank you for giving me a chance to do it.

I downloaded your TSP, installed it successfully, and I was able to
initialize your TSP
and open your line on Tb20.exe. This means your TSP runs successfully.
But, removing the digital signature...
I may be silly, but, I could not find how to remove it.

Could you please teach me how to remove it ?

Best Regards,
Sang-Ho Yang


"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
news:OWdk650sHHA.4232@xxxxxxxxxxxxxxxxxxxxxxx
Sang-Ho,

just another idea: Why not try for yourself:

You can try to install the current beta of our TSP on Vista:

http://www.terasens.com/products/terasip/

I don't know if it will install correctly (a previous beta already
worked on
Vista, though). If it installs and works, you can use signtool.exe
from the SDK to remove the digital signature from the tsp
and see if it still gets loaded. (Just turn logging on in the TSP
options to see).


Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstra? 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------


"Sang-Ho Yang" <yavatar@xxxxxxxxxxxxx> wrote in message
news:ece27wssHHA.4424@xxxxxxxxxxxxxxxxxxxxxxx
Matthias Moetje,

I don't know I can start a support case right now.
So, it would be appreciated if you let me know your result.

Thank you.

Best Regards,
Sang-Ho Yang


"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
news:eSB1FvosHHA.3364@xxxxxxxxxxxxxxxxxxxxxxx
Sang-Ho,

you could start a support case for this question or wait a few days
until I'll be able to try if this makes a difference (maybe next
week).


Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstra? 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------

"Sang-Ho Yang" <yavatar@xxxxxxxxxxxxx> wrote in message
news:OpO8HSWsHHA.3736@xxxxxxxxxxxxxxxxxxxxxxx
Matthias,

Now I'm thinking that the last idea you mentioned may cause this
problem.
My TSP is not signed with any certificate.

I may have to get some information that Vista requires digitally
signed TSP or not.

Thank you for giving me your idea.

Best Regards,
Sang-Ho


"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in
message news:%23yJAZs3rHHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
Sang-Ho,

what you describe seems all fine. The shell32 errors don't seem to
be
serious.

From the info you provided it must be some problem that occurs
BEFORE
the TSP gets loaded.

Therefore at the moment I have only one last idea: Is your tsp dll
signed
with a valid code signing certificate? Vista requires signed files
in a lot of
places (drivers, installed binary files etc.). I am not sure if
Vista explicitly
requires a TSP to be digitally signed, in most cases you need this
to
get the Vista logo for your application, but it _could_ be that
Vista
requires TSPs to be signed...

Our TSP is signed, so this could make the difference.

Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstra? 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------

"Sang-Ho Yang" <yavatar@xxxxxxxxxxxxx> wrote in message
news:uCueU5xrHHA.5032@xxxxxxxxxxxxxxxxxxxxxxx
Thank you for your respond.

I installed my TSP by the following two steps;
1. copying my TSP and related files into system32 directory.
2. Control Panel -> Phone and Modem Options -> Advanced tab
-> Add... -> selecting my TSP from the TSP list -> pushing Add.
which was successful.
While it was being installed, my TSP was loaded and some of my
TSP's functions
were called successfully.

I implemented every TSPI_ functions and TUISPI_ functions at one
TSP(dll).

I checked my TSP and all other default TSPs with Dependency
Walker.
The results were the same;
every TSPs have two errors in loading SHLWAPI.DLL and
IEFRAME.DLL.
The two DLLs are called by SHELL32.DLL.
Actually every DLLs and EXEs, that call SHELL32.DLL, have the two
errors.

I compiled my TSP with MS Visual C++ 6.0 (SP6) and
PSDK Feb-2003, which is the last PSDK for MS VS 6.0.

My TSP uses MFC in static library.
My TSP does not need other runtimes.

Any comments will be appreciated.

Regards,
Sang-Ho Yang


"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in
message news:%23OHSH%23orHHA.4020@xxxxxxxxxxxxxxxxxxxxxxx
Sang-Ho,

how do you install your TSP? If you install through
lineAddProvider, there
_must_ be some TSPI_ functions called. Did you separate your TSP
and
the TSP UI into two dlls?

Can you check the dlls with www.dependcywalker.com? Are there
any
import errors? Which compiler did you use? Did the VC/VC++/MFC
runtimes install correctly?


Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstra? 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------


"Sang-Ho Yang" <yavatar@xxxxxxxxxxxxx> wrote in message
news:O$YA7KXrHHA.5092@xxxxxxxxxxxxxxxxxxxxxxx
Hello.
This is Sang-Ho Yang.
I'm developing a TSP.

My TSP works fine in Windows 2000(Workstation, Server), and
Windows XP(Prof, Home).
But, it doesn't work in Windows Vista.

The TSP was installed successfully in Vista. I could see my TSP
in the TSP list of
[Phone and Modem Options] in Control Panel.
But, when I tried to initialize TAPI application, Windows TAPI
seemed not to call the function,
TSPI_providerInit(), from my TSP.
As far as I know, when TAPI application initializes TAPI,
Windows TAPI calls the function,
TSPI_providerInit(), from every TSPs.

Is there anyone who experienced the same and fixed it ?

Any comments about this issue will be appreciated.

Thanks.

Sang-Ho

























.



Relevant Pages

  • Re: TSP in Windows Vista
    ... Matthias Moetje ... TERASENS GmbH ... your unsigned TSP also works well on my Vista. ... You can try to install the current beta of our TSP on Vista: ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSP in Windows Vista
    ... your unsigned TSP also works well on my Vista. ... Matthias Moetje ... TERASENS GmbH ... You can try to install the current beta of our TSP on Vista: ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSP in Windows Vista
    ... Matthias Moetje ... TERASENS GmbH ... You can try to install the current beta of our TSP on Vista: ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSP in Windows Vista
    ... You can try to install the current beta of our TSP on Vista: ... Matthias Moetje ... TERASENS GmbH ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSP in Windows Vista
    ... Matthias Moetje ... TERASENS GmbH ... I may have to get some information that Vista requires digitally signed ... If you install through lineAddProvider, ...
    (microsoft.public.win32.programmer.tapi)