Microsoft Pocket PC Emulator and Network
If you have to develop a software with Microsoft Visual Studio 2005 for a mobile
device (for example Pocket PC 2003) which has to access to your network
(local area or internet) you must enable the support for the network into the emulator.
These are the steps:
- Download and install the Virtual Machine Network Driver
for Microsoft Device Emulator at this
address.
I suggest to do the setup with Visual Studio 2005 and the emulator turned off.
- From the Network Settings select the Local Area Connection, right click and select
Properties, check the box near Virtual Machine Network Services
- In Visual Studio open Tools -> Options
- Open the Device Tools -> Devices node
- Select Pocket PC 2003 Emulator and click
Properties
- From the Transport section select the
TCP Connect Transport
- Click the Configure button and select Obtain an IP address
automatically using ActiveSync, then close the dialog box
- Click Emulator Options..., tab Network, check the box
Enable NE2000 PCMIA network adapter and bind to:
and from the drop down list select your network card
- Close all the dialog boxes, run your application, in the emulator open then
File -> Configure dialog box
- Check the box or verify the state of the
Enable NE2000 PCMIA network adapter and bind to: box,
it must be checked
Now from your software you can use the code to connect to internet, databases servers and so on.