wince 5.0有自带的Web server组件.第三方比较好用的有GoAhead Web Server ,这是开源软件,并且支撑Linux.
一、wince 5.0自带的Web server组件
过程一:
在PB中增加以下组件:
Catalog item Sysgen variable Location in Catalog
Web Server (HTTPD) SYSGEN_HTTPD Communication Services and Networking\Servers
Web Server Administration ISAPI SYSGEN_ISAPI_CONFIG Communication Services and Networking\Servers\Web Server (HTTPD)
NTLM SYSGEN_AUTH_NTLM Security\Authentication Services (SSPI)
Internet Connection Sharing (ICS) SYSGEN_GATEWAY Communication Services and Networking\Networking Features
Reference Gateway User Interface
SYSGEN_GATEWAY_UI
Communication Services and Networking\Networking Feature
过程二:
在project.reg中增加:
[HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/WebAdmin]
@=“\\windows\\httpdadm.dll”
“a”=dword:0
[HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/BasicOnly]
@=“\\”
“a”=dword:1
“Basic”=dword:1
“NTLM”=dword:0
“dirbrowse”=dword:1
[HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/NTLMOnly]