在ppc2003中使用service.exe
ppc2003(ce4.0) 实现了services.exe 进程。用户可以通过在services.exe 进程调用其它DLL 服务,从而解决了ce中只能运行32个进程的限制。
具体方法如下:
1,用evc生成一个dll;
2,实现这些方法:MYS_Close,MYS_Deinit,MYS_Init,MYS_IOControl,MYS_Open,MYS_Read,MYS_Seek,MYS_Write;
3,在注册表中注册方法;
4,将dll文件拷贝到/windows目录下,重启ppc即可使用dll。
参见:http://msdn.microsoft.com/library/en-us/wceserv/html/cmconServicesexe.asp?frame=true
浙公网安备 33010602011771号