Partager via


MUIHello

Windows Mobile SupportedWindows Embedded CE Not Supported

8/28/2008

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 SDK\Samples\Smartphone\cpp\Win32\muihello

    Microsoft Visual Studio 2005 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.exe loads 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 6 Professional SDK and Windows Mobile 6 Standard SDK

Development Environment: Visual Studio 2005.

ActiveSync: Version 4.5.

See Also

Concepts

Code Samples for Windows Mobile

Other Resources

Input Method Manager (IMM) Reference
Multilingual User Interface (MUI) Reference
National Language Support (NLS) Reference