PPC Service for Windows Mobile 5.0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Under Windows Mobile 5.0 services need to be code-signed. Otherwise I don't
think the architecture has changed

Peter
 
Peter,

Do services need to be code-signed even for the WM 5.0 emulator?
Thanks,
- David
 
By signed the code with the SDKSamplePrivDeveloper.pfx the service starts
just fine.
Thanks, Peter.
 
Back
Top