Could anyone please share a Windows Service template that works on Windows
Mobile 5.0?

I tried to port the service template by Victor Sharov and Vassili Philippov
available at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/ppc_services.asp

which works just fine when deployed from eVC++ to the standard emulator, but
I just cannot make to work on WM 5.0 emulator.

Using the depency tool (Depends.exe) I found out mfc80u.dll and msvcr80.dll
are needed so I included those two in my cab file along with the registry
settings. Registry is setup just fine and the 3 dlls (2 above plus
MyService.dll) are copied to the Windows folder. Device is soft-reseted but
service doesn't start at all.

Any help is appreciated.

Re: PPC Service for Windows Mobile 5.0 by Peter

Peter
Thu Mar 02 03:47:06 CST 2006

Under Windows Mobile 5.0 services need to be code-signed. Otherwise I don't
think the architecture has changed

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com

"David Nevarez" <DavidNevarez@discussions.microsoft.com> wrote in message
news:DC4AF4B8-CF66-4C58-8B95-5F3D3A8CF7F9@microsoft.com...
> Could anyone please share a Windows Service template that works on Windows
> Mobile 5.0?
>
> I tried to port the service template by Victor Sharov and Vassili
> Philippov
> available at
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/ppc_services.asp
>
> which works just fine when deployed from eVC++ to the standard emulator,
> but
> I just cannot make to work on WM 5.0 emulator.
>
> Using the depency tool (Depends.exe) I found out mfc80u.dll and
> msvcr80.dll
> are needed so I included those two in my cab file along with the registry
> settings. Registry is setup just fine and the 3 dlls (2 above plus
> MyService.dll) are copied to the Windows folder. Device is soft-reseted
> but
> service doesn't start at all.
>
> Any help is appreciated.
>



Re: PPC Service for Windows Mobile 5.0 by DavidNevarez

DavidNevarez
Thu Mar 02 09:58:32 CST 2006

Peter,

Do services need to be code-signed even for the WM 5.0 emulator?
Thanks,
- David

"Peter Foot [MVP]" wrote:

> Under Windows Mobile 5.0 services need to be code-signed. Otherwise I don't
> think the architecture has changed
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.peterfoot.net | www.inthehand.com
>
> "David Nevarez" <DavidNevarez@discussions.microsoft.com> wrote in message
> news:DC4AF4B8-CF66-4C58-8B95-5F3D3A8CF7F9@microsoft.com...
> > Could anyone please share a Windows Service template that works on Windows
> > Mobile 5.0?
> >
> > I tried to port the service template by Victor Sharov and Vassili
> > Philippov
> > available at
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/ppc_services.asp
> >
> > which works just fine when deployed from eVC++ to the standard emulator,
> > but
> > I just cannot make to work on WM 5.0 emulator.
> >
> > Using the depency tool (Depends.exe) I found out mfc80u.dll and
> > msvcr80.dll
> > are needed so I included those two in my cab file along with the registry
> > settings. Registry is setup just fine and the 3 dlls (2 above plus
> > MyService.dll) are copied to the Windows folder. Device is soft-reseted
> > but
> > service doesn't start at all.
> >
> > Any help is appreciated.
> >
>
>
>

Re: PPC Service for Windows Mobile 5.0 by DavidNevarez

DavidNevarez
Thu Mar 02 11:17:27 CST 2006

By signed the code with the SDKSamplePrivDeveloper.pfx the service starts
just fine.
Thanks, Peter.

"David Nevarez" wrote:

> Peter,
>
> Do services need to be code-signed even for the WM 5.0 emulator?
> Thanks,
> - David
>
> "Peter Foot [MVP]" wrote:
>
> > Under Windows Mobile 5.0 services need to be code-signed. Otherwise I don't
> > think the architecture has changed
> >
> > Peter
> >
> > --
> > Peter Foot
> > Windows Embedded MVP
> > www.peterfoot.net | www.inthehand.com
> >
> > "David Nevarez" <DavidNevarez@discussions.microsoft.com> wrote in message
> > news:DC4AF4B8-CF66-4C58-8B95-5F3D3A8CF7F9@microsoft.com...
> > > Could anyone please share a Windows Service template that works on Windows
> > > Mobile 5.0?
> > >
> > > I tried to port the service template by Victor Sharov and Vassili
> > > Philippov
> > > available at
> > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/ppc_services.asp
> > >
> > > which works just fine when deployed from eVC++ to the standard emulator,
> > > but
> > > I just cannot make to work on WM 5.0 emulator.
> > >
> > > Using the depency tool (Depends.exe) I found out mfc80u.dll and
> > > msvcr80.dll
> > > are needed so I included those two in my cab file along with the registry
> > > settings. Registry is setup just fine and the 3 dlls (2 above plus
> > > MyService.dll) are copied to the Windows folder. Device is soft-reseted
> > > but
> > > service doesn't start at all.
> > >
> > > Any help is appreciated.
> > >
> >
> >
> >