Building a Multilingual Run-time Image (Windows Embedded CE 6.0)
1/6/2010
After you have created the OS design, as described in Creating a Multilingual OS Design, you must build your run–time image.
To build a multilingual run–time image
From the Build menu of Visual Studio, choose Advanced Build Commands, then Sysgen. Select Global Build Settings, and then make sure that the Copy Files to Release Directory After Build and Make Run–Time Image After Build options are selected.
The build process will take several minutes to complete.
After the building process has completed, from the Build menu, choose Open Release Directory in Build Window.
At the command prompt, type the following command.
createmui <list of non–default LCIDs>
For a list of locale identifiers (LCIDs), see Language Identifiers and Locales. For example, if you follow the instructions in Creating a Multilingual OS Design so that the default language is French, the following code will create an English MUI run–time image.
createmui 0409
Note
The default locale should not be included in this list. If there are multiple non–default languages, they should be separated by spaces.
This command copies all of the localized resources for the specified locale to the release directory and creates a Multiui.bib file in the same directory. The Muiltiui.bib file contains a list of all these localized resources.
In Windows Explorer navigate to the %_WINCEROOT%\OS Designs\<solution name>\<OS design name>\RelDir\DeviceEmulator_ARMV4I_Debug directory and locate the Multiui.bib file.
Open Multiui.bib by using a text editor.
In Multiui.bib, delete the line of code which references k.coredll.dll.dll.mui.
Copy all of the contents of Multiui.bib.
In Windows Explorer, navigate to the %_WINCEROOT%\OS Designs\<solution name>\<OS design name>\RelDir\DeviceEmulator_ARMV4I_Debug directory and locate the Common.bib file.
Open Common.bib by using a text editor.
Navigate to the end of the Common.bib file.
Paste the contents of Multiui.bib to the end of Common.bib. Save this file.
In Visual Studio, open the Build menu, and choose Make Run–Time Image.
The build process will take several minutes to complete.
You will now need to test your run–time image. For instructions on testing your run–time image please see Testing the Multilingual Run-time Image.
See Also
Tasks
How to Create a Multilingual Run-time Image Using MUI