Hello,

I have successfully build a lsp (layered service provider for Windows
9x->XP=A0 in my last company (now down). I now have a contact with anothe=
r
company that needs the lsp principle.
As I'm new to pocket PC, I tell me a lot of questions - if someone can
help me :-)
-What tools do I need to build a lsp for pocket PC ? evc3, evc4,
platform builder ?
-Does a lsp install as a "normal software" or is it reserved for
companies that build Pocket PC images (I'm sure I'm not clear ...) ?
-Which Pocket PC version is compatible with LSP : Pocket PC 2002, Pocket
PC 2003 ?
-Where to find infos for Pocket PC and lsp ?

Thank in advance,

Sylvain

Re: Pocket PC and LSP by David

David
Thu Jan 22 15:26:09 CST 2004

Hi Sylvain,

Pocket PC 2003 inherits support for LSP from Windows CE 4.2

> Does a lsp install as a "normal software" or is it reserved for companies
that build Pocket PC images (I'm sure I'm not clear ...) ?

ISVs can use this; it is not limited to Pocket PC manufacturers.

> Which Pocket PC version is compatible with LSP : Pocket PC 2002, Pocket
PC 2003 ?

Pocket PC 2003.

> Where to find infos for Pocket PC and lsp ?

1. Platform Builder 4.2
2. http://msdn.microsoft.com

> What tools do I need to build a lsp for pocket PC ? evc3, evc4, platform
builder ?

I recommend Platform Builder, since it is the main Windows CE tool, it has
the sample, and it has the right library and include files to support LSP.
An eval edition of Windows CE 4.2 (including Platform Builder 4.2) is
available at http://www.microsoft.com/windows/Embedded/ce.NET

David
------
This posting is provided "AS IS" with no warranties, and confers no rights.

"Sylvain MARECHAL" <sylvain.marechal1@libertysurf.fr> wrote in message
news:400BAF4D.6BBA1194@please...
Hello,

I have successfully build a lsp (layered service provider for Windows
9x->XP in my last company (now down). I now have a contact with another
company that needs the lsp principle.
As I'm new to pocket PC, I tell me a lot of questions - if someone can
help me :-)



Re: Pocket PC and LSP by David

David
Thu Jan 22 15:46:29 CST 2004

A couple of changes in the Windows CE 4.2 LSP sample are needed to work with
Pocket PC 2003:

1. The installer sample (INST_LSP) needs one change
2. The LSP sample (LSP/SRC) needs one change

Here are some extra instructions which should prove helpful.

Use Platform Builder 4.2 which has the right library and include files to
support the LSP sample.
An eval edition of Windows CE 4.2 (including Platform Builder 4.2) is
available at http://www.microsoft.com/windows/Embedded/ce.NET

1. For those new to Platform Builder, there is a need to Build a "platform"
first. I created one using the standard Intel ARM - Mobile Device. (Then,
on the Build menu, click Build Platform).
2. Copy C:\WINCE420\PUBLIC\COMMON\OAK\INC\Guidgen.h to the INC folder for
the sample.
3. Change the following line in TSP\INST_LSP\inst_lsp.cpp (213):
From:
CeGenerateGUID(&NewChainId);
To:
NewChainId = LayeredProviderGuid;
4. Change TSP\LSP\SRC\spi.cpp line 3709:
From:
if (lpWPUCompleteOverlappedRequest != NULL)
To:
if (1)
5. In Platform Builder, on the Build menu click "Open Build Release
Directory"
6. Change to the directory where you want to build the sample, e.g.
CD C:\WINCE420\PUBLIC\COMMON\SDK\SAMPLES\TSP\LSP
7. Enter command:
build
8. Look at the build.log file for the location of Lsp.dll, or for error
messages
9. Repeat steps 6-8 for the installer INST_LSP (which creates Inst_lsp.exe)

The installer is used to install the Lsp.dll, so put them both in the same
directory on the Pocket PC. A soft-reset will unload Lsp.dll.

David
------
This posting is provided "AS IS" with no warranties, and confers no rights.



Re: Pocket PC and LSP by Sylvain

Sylvain
Sat Jan 24 01:41:00 CST 2004

"David Gonzales [MS]" a =E9crit :

> A couple of changes in the Windows CE 4.2 LSP sample are needed to work=
with
> Pocket PC 2003:
>
> 1. The installer sample (INST_LSP) needs one change
> 2. The LSP sample (LSP/SRC) needs one change
>
> Here are some extra instructions which should prove helpful.
>
> Use Platform Builder 4.2 which has the right library and include files =
to
> support the LSP sample.
> An eval edition of Windows CE 4.2 (including Platform Builder 4.2) is
> available at http://www.microsoft.com/windows/Embedded/ce.NET
>
> 1. For those new to Platform Builder, there is a need to Build a "platf=
orm"
> first. I created one using the standard Intel ARM - Mobile Device.=A0 (=
Then,
> on the Build menu, click Build Platform).
> 2. Copy C:\WINCE420\PUBLIC\COMMON\OAK\INC\Guidgen.h to the INC folder f=
or
> the sample.
> 3. Change the following line in TSP\INST_LSP\inst_lsp.cpp (213):
> =A0=A0 From:
> =A0=A0=A0=A0=A0=A0 CeGenerateGUID(&NewChainId);
> =A0=A0 To:
> =A0=A0=A0=A0=A0=A0 NewChainId =3D LayeredProviderGuid;
> 4. Change TSP\LSP\SRC\spi.cpp line 3709:
> =A0=A0 From:
> =A0=A0=A0=A0=A0 if (lpWPUCompleteOverlappedRequest !=3D NULL)
> =A0=A0 To:
> =A0=A0=A0=A0=A0 if (1)
> 5. In Platform Builder, on the Build menu click "Open Build Release
> Directory"
> 6. Change to the directory where you want to build the sample, e.g.
> =A0=A0=A0=A0=A0 CD C:\WINCE420\PUBLIC\COMMON\SDK\SAMPLES\TSP\LSP
> 7. Enter command:
> =A0=A0=A0=A0=A0 build
> 8. Look at the build.log file for the location of Lsp.dll, or for error=

> messages
> 9. Repeat steps 6-8 for the installer INST_LSP (which creates Inst_lsp.=
exe)
>
> The installer is used to install the Lsp.dll, so put them both in the s=
ame
> directory on the Pocket PC. A soft-reset will unload Lsp.dll.
>
> David
> ------
> This posting is provided "AS IS" with no warranties, and confers no rig=
hts.

Thank you David,

I will try and inform this list of my result as soon as possible

Sylvain
=A0
=A0


Re: Pocket PC and LSP by chads

chads
Tue Dec 14 19:42:21 CST 2004

Hi David,
I got hold of the LSP sample for Win CE 5.0.
I also built the LSP.dll and Inst_lsp.exe by following the instructions
below.

I do have a pocket PC emulator on which I plan to test. Could u pls
tell me how I go abt doing this now that I have the binaries built?
Thx,
Sanjay


David Gonzales [MS] wrote:
> A couple of changes in the Windows CE 4.2 LSP sample are needed to
work with
> Pocket PC 2003:
>
> 1. The installer sample (INST_LSP) needs one change
> 2. The LSP sample (LSP/SRC) needs one change
>
> Here are some extra instructions which should prove helpful.
>
> Use Platform Builder 4.2 which has the right library and include
files to
> support the LSP sample.
> An eval edition of Windows CE 4.2 (including Platform Builder 4.2) is
> available at http://www.microsoft.com/windows/Embedded/ce.NET
>
> 1. For those new to Platform Builder, there is a need to Build a
"platform"
> first. I created one using the standard Intel ARM - Mobile Device.
(Then,
> on the Build menu, click Build Platform).
> 2. Copy C:\WINCE420\PUBLIC\COMMON\OAK\INC\Guidgen.h to the INC folder
for
> the sample.
> 3. Change the following line in TSP\INST_LSP\inst_lsp.cpp (213):
> From:
> CeGenerateGUID(&NewChainId);
> To:
> NewChainId = LayeredProviderGuid;
> 4. Change TSP\LSP\SRC\spi.cpp line 3709:
> From:
> if (lpWPUCompleteOverlappedRequest != NULL)
> To:
> if (1)
> 5. In Platform Builder, on the Build menu click "Open Build Release
> Directory"
> 6. Change to the directory where you want to build the sample, e.g.
> CD C:\WINCE420\PUBLIC\COMMON\SDK\SAMPLES\TSP\LSP
> 7. Enter command:
> build
> 8. Look at the build.log file for the location of Lsp.dll, or for
error
> messages
> 9. Repeat steps 6-8 for the installer INST_LSP (which creates
Inst_lsp.exe)
>
> The installer is used to install the Lsp.dll, so put them both in the
same
> directory on the Pocket PC. A soft-reset will unload Lsp.dll.
>
> David
> ------
> This posting is provided "AS IS" with no warranties, and confers no
rights.


Re: Pocket PC and LSP by David

David
Thu Dec 16 14:26:11 CST 2004

Hi Sanjay,

I have no idea if the Windows CE 5.0 binaries will work on Windows Mobile
2003 (which is built from CE 4.2). My guess is that it will not work
properly.

But here's how it works with the two 4.2 binaries:

1. Copy both Lsp.dll and Inst_lsp to a folder (any folder) in your Pocket PC
2. On the Pocket PC, open File Explorer, and tap Inst_lsp

To remove the LSP, just soft-reset the Pocket PC.

David
------
This posting is provided "AS IS" with no warranties, and confers no rights.

"chads" <schadda@gmail.com> wrote in message
news:1103074941.893665.97330@f14g2000cwb.googlegroups.com...
> Hi David,
> I got hold of the LSP sample for Win CE 5.0.
> I also built the LSP.dll and Inst_lsp.exe by following the instructions
> below.
>
> I do have a pocket PC emulator on which I plan to test. Could u pls
> tell me how I go abt doing this now that I have the binaries built?
> Thx,
> Sanjay
>
>
> David Gonzales [MS] wrote:
> > A couple of changes in the Windows CE 4.2 LSP sample are needed to
> work with
> > Pocket PC 2003:
> >
> > 1. The installer sample (INST_LSP) needs one change
> > 2. The LSP sample (LSP/SRC) needs one change
> >
> > Here are some extra instructions which should prove helpful.
> >
> > Use Platform Builder 4.2 which has the right library and include
> files to
> > support the LSP sample.
> > An eval edition of Windows CE 4.2 (including Platform Builder 4.2) is
> > available at http://www.microsoft.com/windows/Embedded/ce.NET
> >
> > 1. For those new to Platform Builder, there is a need to Build a
> "platform"
> > first. I created one using the standard Intel ARM - Mobile Device.
> (Then,
> > on the Build menu, click Build Platform).
> > 2. Copy C:\WINCE420\PUBLIC\COMMON\OAK\INC\Guidgen.h to the INC folder
> for
> > the sample.
> > 3. Change the following line in TSP\INST_LSP\inst_lsp.cpp (213):
> > From:
> > CeGenerateGUID(&NewChainId);
> > To:
> > NewChainId = LayeredProviderGuid;
> > 4. Change TSP\LSP\SRC\spi.cpp line 3709:
> > From:
> > if (lpWPUCompleteOverlappedRequest != NULL)
> > To:
> > if (1)
> > 5. In Platform Builder, on the Build menu click "Open Build Release
> > Directory"
> > 6. Change to the directory where you want to build the sample, e.g.
> > CD C:\WINCE420\PUBLIC\COMMON\SDK\SAMPLES\TSP\LSP
> > 7. Enter command:
> > build
> > 8. Look at the build.log file for the location of Lsp.dll, or for
> error
> > messages
> > 9. Repeat steps 6-8 for the installer INST_LSP (which creates
> Inst_lsp.exe)
> >
> > The installer is used to install the Lsp.dll, so put them both in the
> same
> > directory on the Pocket PC. A soft-reset will unload Lsp.dll.
> >
> > David
> > ------
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.