MUIHello
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
- Input Method Manager (IMM) Reference
- Multilingual User Interface (MUI) Reference
- National Language Support (NLS) Reference
Usage
To run the code sample
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.
Build the solutions (Ctrl+Shift+B).
Note
Be sure to build all three projects in the workspace.
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