How to: Change Ethernet Support in the Emulator

When developing an application for deployment on devices that might not be configured to form a network, turning off Ethernet support enables application testing in a disconnected state. Applications that are running in the emulator cannot be debugged when Ethernet support is disabled.

To change Ethernet support in the emulator

  1. Shut down the emulator if it is running.
  2. In eMbedded Visual C++, on the Tools menu, click Configure Platform Manager.
  3. In the device list, click Pocket PC 2003 Emulator, and then click Properties.
  4. Click the Configure button to the right of the Startup Server drop-down list box.
  5. Select a network option.
  6. Click OK to close the Emulation Configuration Settings dialog box.
  7. Click TEST to restart the emulator.
  8. Wait for the Testing Device Connection dialog box to show an OK button.
  9. Click OK to close the Testing Device Connection dialog box.
  10. Click OK to close Device Properties dialog box.
  11. Click OK to close the Windows CE Platform Manager Configuration dialog box.
  12. Three emulator-network options are available: Disabled, Network address translation, and Virtual switched. The capabilities of each option are as follows:
    1. Disabled

      The network card is not available to the emulator.

    2. Network address translation:

      Uses the same IP as the host computer.

      Allows commands only when started by the emulator.

      The emulator sends out requests for information and can receive replies to its own requests. However, it cannot receive unsolicited information.

    3. Virtual switched:

      Note   This option is available in the Microsoft eMbedded Visual C++ version 4.0 emulator only. Microsoft Visual Studio® .NET does not support the virtual switch option.

      Gives the device an IP.

      Uses Dynamic Host Configuration Protocol (DHCP) to get an IP.

      The device appears on the network at the IP.

      Is available for incoming and outgoing messages.

See Also

Emulator

How to: Use ActiveSync over Virtual Switch

How to: Use Radio-Provided Wireless GSM Telephony in the Emulator

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.