Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This code sample is named MUIHello. It demonstrates how to write a Multilingual User Interface (MUI) version of a "Hello World!" application.

Feature Area

Relevant APIs

Usage

To run the code sample
  1. Navigate to each solution file (*.sln), and double-click it. By default, the solution files are copied to the following folder:

    C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\Smartphone\cpp\Win32\muihello

    Microsoft Visual Studio launches and loads each solution.

  2. Build the solutions ( Ctrl+Shift+B).

    Note:
    Be sure to build all three projects in the workspace.
  3. Deploy the solution ( F5), and run muihello.exe.

By switching languages, notice how Windows Mobile automatically loads strings from the appropriate *.MUI file.

Remarks

Because muihello.exeloads resources from the *.MUI files, you must be sure that those files have been built, and that they have been copied to the target platform before running muihello.exe.

If you want to switch emulators to one that has a different language, be sure to change it on each of the projects.

Development Environments

SDK:Windows Mobile Professional SDK and Windows Mobile Standard SDK

Development Environment:Visual Studio 2005 or 2008.

ActiveSync:Version 4.5.

See Also