Code Repo    |     RSS
MD's Technical Sharing



Wednesday, December 10, 2008

Using the Command Line to Launch Emulator Images

While you can always use the Device Emulator Manager to start various emulator images, that capability depends on the existence of what is called a "Data Store" which is installed with Visual Studio 2005 and Platform Builder. This is information used by various tools to be aware of what's installed on your machine that can be used for device development. This is stored as a collection of files under \documents and settings\All Users\Application Data\Microsoft\corecon\1.0

In case of a standalone emulator (when you don't have a Data Store on that machine) you can launch any device emulator image using the command line as well.

When you start the emulator from the command line, almost every aspect of the device emulator can also be configured using the command line.

The simplest way to run a device emulator image would be to pass the name of the .bin file which is the emulator image file to DeviceEmulator.exe. For Example, navigating to Program Files\Microsoft Device Emulator\1.0 and running the following will launch the Pocket PC 2003 Second Edition VGA Emulator:

DeviceEmulator.exe PPC_2003_SE_VGA_WWE_ARMv4.bin

Reference: http://dotnet.sys-con.com/node/315038

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.