基于托管代码的 Windows Mobile 服务程序
.NET Framework 提供了对 Windows Service 开发的支持,而 .NET Compact Framework 并不支持。Peter Nowak 在 CodePlex 发布了一套支持 .NET CF 开发 Managed Service 的类库 Managed Services for Windows Mobile,当然是开源的了!
Project Description
This leightweight library contains functionality for creating Windows like Services in managed code, as creating Windows Services in Windows Mobile/Windows CE isn't supported. The library is compatible with the .NET Compact Framework 2.0 and higher.
Details
The .NET Compact Framework doesn't offer any functionality for creating Windows Services in full managed code, as like on the .NET Framework. Therefore this library enables creating Service in managed code to be like Windows Services as near as possible.
This library bases on Pavel Bánský's blog post, on how to create Services in Windows Mobile in managed code.
CodePlex 网站:http://www.codeplex.com/managedserviceswm