Re: [TSP] Creating WinCE TSP service
- From: "Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Apr 2006 16:47:24 +0200
Jonathan,
maybe you should download the WinCE 4.x SDK? The sample
is part of the CE 4.2 documentation, so I think it should at least
be consistent with the 4.2 SDK.
If all fails you might better start a support incident with MS on
this issue.
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 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
-------------------------------------
"Jonathan Lowden" <jonathanl@xxxxxxxxxxx> wrote in message
news:OulhR7aaGHA.1200@xxxxxxxxxxxxxxxxxxxxxxx
Just a little bit of an update.is
The "tapicomn.h" file doesn't exist still on my PC but it seems that the
MSDN text compared to the header files differ. The TSPI_lineGetProcTable
not declared as:function
LONG TSPIAPI TSPI_lineGetProcTable(LPTSPI_PROCS *lplpTSPIProcs)
It is declared as:
LONG TSPIAPI TSPI_lineGetProcTable(void *lplpTSPIProcs)
I wish there was some consistency in the MSDN library.
It seems also that the TSPI_PROCS structure is just pointers to function
names, so I should be able to implement it by copying the different
details and creating a struct for each. I'll post how I get on here.I
Regards,
Jonathan
"Jonathan Lowden" <jonathanl@xxxxxxxxxxx> wrote in message
news:OEJzdfZaGHA.508@xxxxxxxxxxxxxxxxxxxxxxx
Hello Matthias,
Thanks for your response.
Yes I had seen that and I thought that was the case. The problem I have
run into is that with WinCE 5.0 SDK the header file (tapicomn.h) used to
define the TSPI_PROCS structure is missing. I have searched for the
header file through my entire computer and have come up with nothing.
Doing searches on google only makes reference to the header file in one
location, the MSDN website, which doesn't even contain the header file.
thatmight be able to get around it if I knew the actual structure of the
TSPI_PROCS and typedef it myself but that still doesn't help the fact
havethe header file is missing. It makes it very difficult to build a TSP on
CE when some of the required header files are missing. Couldn't they
tojust included the structure in the standard TAPI.h??? Apparently not.
Could you do a search on your PC for the header file too? I just want
Themake sure I haven't missed something in my install.
I tried to use the code sample that is supplied in the MSDN library (the
one you talk about below) but it also is missing other header files.
entire sample is incomplete. I found one of the header files via a
Devicessearch but the others were nowhere to be found. I sent a message to the
MSDN board and the only response I got was "Dear Jonathan, Thank you for
your feedback. The relevant content owner has been notified and will
follow up as needed. Best regards, - Microsoft Mobile and Embedded
fromUser Assistance Team" and that was three weeks ago with no response from
the "relevant content owner".
Anyway thanks again for your response.
Regards,
Jonathan Lowden
"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
news:uCrq36YaGHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
Jonathan,
I've read you post but I have no idea about the differences on
Windows CE. Did you read everything on MSDN about it?
I just found the following from a transcript:
Q: Can you talk about TAPI and TSP porting - will TSPs need to be
recompiled
to work on CE?
A: (from David Kanz (offline)): TAPI TSPs on CE are different enough
TSPthe desktop TAPI TSPs that there is some code work involved to port a
messagesfrom the desktop to CE. The biggest differences are the order of
insteadand functions calls, and CE's TAPI uses a function pointer array
http://msdn.microsoft.com/library/en-us/wcetapi/html/cmconTelephonyServiceProviderInterface.aspof
exported dll functions. On CE, a TAPI TSP dll only needs to export 1
function, TSPI_lineGetProcTable.
The article at the following address explains that further:
now
Just below there is a TSP sample for Windows CE, did you see that?
Best regards,
Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 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
-------------------------------------
"Jonathan Lowden" <jonathanl@xxxxxxxxxxx> wrote in message
news:u1EGBFYaGHA.1348@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
I was just wondering if anyone has had a chance to read my post?
Regards,
Jonathan Lowden
"Jonathan Lowden" <jonathanl@xxxxxxxxxxx> wrote in message
news:u2bMOdEaGHA.4116@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I've been playing around with code for the better part of 3 weeks
codetrying to create a TSP DLL for the Windows CE 5 environment. My
"TSPI_lineGetProcTable".all
something.built fine and so I excepted that it was just a matter of copying
across
the DLL and running the lineAddProvider function from within an EXE.
It
was returning invalid numbers (not 0) and so I thought I missed
websiteI then looked up the code samples available on the Microsoft MSDN
and it makes reference to "tapicomn.h" and to
exportLooking around the internet it is referenced in only one place the
MSDN
website. Does anyone know about this? Do I have to use it or can I
my functions like I normally would?
Thanks in advance.
Regards,
Jonathan Lowden
.
- Follow-Ups:
- Re: [TSP] Creating WinCE TSP service
- From: Jonathan Lowden
- Re: [TSP] Creating WinCE TSP service
- References:
- [TSP] Creating WinCE TSP service
- From: Jonathan Lowden
- Re: [TSP] Creating WinCE TSP service
- From: Jonathan Lowden
- Re: [TSP] Creating WinCE TSP service
- From: Matthias Moetje [MVP]
- Re: [TSP] Creating WinCE TSP service
- From: Jonathan Lowden
- Re: [TSP] Creating WinCE TSP service
- From: Jonathan Lowden
- [TSP] Creating WinCE TSP service
- Prev by Date: Re: TB20 with TSPI_lineGetCallInfo()
- Next by Date: Re: Switching TSP
- Previous by thread: Re: [TSP] Creating WinCE TSP service
- Next by thread: Re: [TSP] Creating WinCE TSP service
- Index(es):
Relevant Pages
|