Tutorial Step 7: Running the Application in the Emulator on the Custom OS Image

In this step, you run the newly created Hello.exe application in the Emulator. By default, the Hello.exe application is not included in the OS image. It is downloaded to the target device from the development workstation at run time. This allows you to further develop the application without having to rebuild the entire OS image after each change that you make to the application.

To run the application in the Emulator on the custom OS image

  1. From the Target menu in the IDE, choose Download/Initialize.

    The KITL Security Warning dialog box appears.

  2. For the purposes of this tutorial, choose Yes.

    In approximately one minute, your localized OS appears in the MYPLAT~1 - Emulator for Windows CE window.

  3. From the Target menu, choose Run Programs.

  4. In the Available Programs list, select Hello.exe, and then choose Run.

    The Hello.exe application downloads from the development workstation to the Emulator. The application then runs in the Emulator.

  5. From the taskbar, choose MYPLAT~1 - Emulator for Windows CE to verify that the Hello.exe application has successfully run in the MYPLAT~1 - Emulator for Windows CE window.

You have run a custom application on the Emulator. You should now shut down the Emulator so that you can create and export a software development kit (SDK).

To shut down the Emulator

  1. From the Target menu of the IDE, choose Disconnect, and then choose OK.
  2. Verify that you want to stop all running services by choosing OK.
  3. Verify that you want to stop debugging now without disabling KdStub by choosing Yes.
  4. In the window for the Emulator, from the Emulator menu, choose Shut Down.
  5. In the Shut Down dialog box, select Turn off Emulator, and then choose OK to shut down the Emulator.

You are now ready to create and export an SDK.

See Also

Tutorial Step 8: Creating an SDK for eMbedded Visual C++ | Tutorial Step 6: Creating and Building an Application for the Emulator | Tutorial: Using Platform Builder with the Emulator | Platform Builder Tutorials | Binary Image Builder File | KITL Security Warning

 Last updated on Wednesday, April 14, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.