Windows CE Networking Team WebLog

Windows CE Networking - from NDIS to TCP to SOAP to VOIP and everything in between.

Services.exe white paper on Windows CE

I started this blog initially because I had written a white paper about services.exe that had never seen the light of day, being lost in docs world limbo.  Just when I was about to post the white paper here, the docs team put some people on it.  We've got it cleaned up extensively and posted on MSDN.  As you'll see compared to my posts in this blog that don't go through their review, the docs team's standards are a lot higher than mine.  For instance, they insist on spelling words correctly and using proper grammar.

http://msdn2.microsoft.com/en-us/library/aa446909.aspx

In the article I try and provide motivation for services.exe on CE, discuss what's going on under the covers, and have a sample service that shows off some of the bells and whistles of services.exe.  I know the first feedback I'll get is that the carriage returns on longer lines in the C code leave much to be desired (my fault for not playing by MSDN's rules).  I'm looking into getting it this fixed in a future update.

Enjoy!

[Author: John Spaith]

Published Wednesday, December 15, 2004 11:15 AM by cenet
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

vernon hyde said:

Hi John,

I read your excellent article, "Implementing a Network Service on Windows CE".

However, I was unable to start a service on startup using your example.

I am running Windows CE 4.1 which boots from a flash disk. In the article you talk about storing the dll in the Windows directory. However, there is no Windows directory before booting. Where should I store the dll and what path should I put as the DLL value under the Services\FINGER key in the registry?

Thanks, Verne
October 17, 2005 12:46 PM
 

vernon hyde said:

Hi John,

I just wanted to add the following requirement to any solution offered: the dll cannot be part of the os image.

Thanks, Verne
October 17, 2005 1:01 PM
 

Windows CE Networking Team WebLog said:

On Windows CE services.exe , there is a Context registry key associated with each service in the HKLM\Services\<ServiceName>\Context.

November 14, 2006 2:55 PM

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker