PPC Service for Windows Mobile 5.0

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.
 
P

Peter Foot [MVP]

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

Peter
 
G

Guest

Peter,

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

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top