posts - 67, comments - 121, trackbacks - 1, articles - 0

PocketPC Emulator 连接 Internet 设置详解

Posted on 2005-11-29 00:23 InterMa 阅读(2298) 评论(7)  编辑 收藏 网摘 所属分类: DotNet
 

PocketPC Emulator 连接 Internet 设置详解

 

本文的环境:WinXP SP2 + VS2005Pro + Windows Mobile 5.0 PocketPC Emulator

今天弄了一晚上才使PocketPC Emulator能够上网,不敢独享,遂写此文。

 

一.首先为了更好的开发基于Window Mobile 5PPC应用,应该安装如下软件:(不是必须)

[1] ActiveSync 4.0 Developer Preview

[2] Windows Mobile 5.0 Pocket PC SDK

[3] Windows Mobile 5.0 Emulator Images for Pocket PC - CHS

这些可以在:

http://msdn.microsoft.com/mobility/windowsmobile/howto/windowsmobile5/
install/default.aspx#virtpcnetdrvr
下载。


二.
安装Virtual PC Network Driver:(为了将PPC中的网卡bindPC上的网卡上)

这个比较讨厌,VS2005正式版中将这个Driver去掉了,只有单独安装。

其官方下载站点就是上边那个连接,不过出于某种原因,现在还不提供下载,

因此我只好安装了MS Virtual PC,因为它里边附带了这个Driver

如果没有固定IP,好像就要通过设置回环网卡来实现了,不过我没有试验其效果。(我的机器有固定IP


三.
开始设置PPC:(让图片说话吧)

1 启动PPC Emulator PPC Emulator”File” -> “Configure”菜单中勾选”Enable …”的那个:

 

 

2 PPC”Start” -> “Setting” -> “Connections” -> “Network Cards”中作如下设置:

[1]  选择那个”NE2000 …”的网卡:

 

 

[2] 选自动分配IP就行了,其中的IP地址无所谓:

 

 

[3] DNS地址请按需填写,(如不填写,之后只能通过IP访问网站)

之后一路OK即可(在右上角呢):

 

 

3.在PPC”Start” -> “Setting” -> “Connections” -> “Connections”中作如下设置:

[1] 进入”Advanced”选项卡:

 

 

[2] 点击”Select Network”按钮之后,将第一个下拉框选择为”My Work Network”

 

 

[3] 点击”Edit”按钮,在”Proxy Server”中勾选第一项(如果需要代理服务器的话,还要填写代理服务器地址),之后一路OK即可:

 

 

4.这个时候要”File” -> “Reset” -> “Soft” 重启PPC,这样才能使刚才的设置生效!

我就是没注意这个才弄了一晚上,


四.打开IE,随便输个网址,享受成果吧:

 

Feedback

#1楼 [楼主]   回复  引用  查看    

2005-11-29 00:57 by InterMa 的 Blog      
埃阿,我又试了一下,似乎设置了DNS也不能解析域名,只有通过IP访问。
不知道那里又出错了,:-<

#2楼 [楼主]   回复  引用  查看    

2005-11-29 01:12 by InterMa 的 Blog      
ft,弄了一个中文的PPC IMG,发现DNS又好用了。
而且也不用重启PPC了。:-)

#3楼    回复  引用  查看    

2005-11-29 10:20 by Ariel Y.      
享受的成果还是乱码 ;-P

#4楼 [楼主]   回复  引用  查看    

2005-11-29 10:22 by InterMa 的 Blog      
呵呵,安完那个Windows Mobile 5.0 Emulator Images for Pocket PC - CHS
之后,就可以正常显示中文了。

#5楼    回复  引用  查看    

2005-11-30 16:35 by 梦书      
这个应该可以
Virtual Machine Network Driver for Microsoft Device Emulator

http://www.microsoft.com/downloads/details.aspx?FamilyId=DC8332D6-565F-4A57-BE8C-1D4718D3AF65&displaylang=en

Overview
The Virtual Machine Network Driver allows the Device emulator's OS (or even the Virtual PC OS, as the case may be) to emulate its own network connection. Because the physical network interface on the host machine is now "virtualized," you have a way to get two IP Addresses - one for the host PC, and one for the operating system that is running within the Device Emulator (or Virtual PC). Device Emulator users using the VMNet Driver can connect to the host machine over TCP or UDP as the alternative to the standard "Activesync over DMA" solution.

#6楼    回复  引用  查看    

2005-12-08 16:03 by 梦书      
呵呵,现在不用这么麻烦了,看看下面的文章
http://mengshu-lbq.cnblogs.com/archive/2005/12/08/292868.html

#7楼 [楼主]   回复  引用  查看    

2005-12-09 12:02 by InterMa 的 Blog      
我那天看过你的了,确实比我的方便多了,呵呵。
:-)




标题  
姓名  
主页
Email (博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2006-03-26 11:17 编辑过
Google站内搜索

China-pub 计算机图书网上专卖店!6.5万品种 2-8折!
近千种 9-95 新二手计算图书火热销售中!
开发者征途系统新作:《设计模式——基于C#的工程化实现及扩展》

相关文章:

相关链接: