Share via


MUI Resource DLLs (Windows CE 5.0)

Send Feedback

For an application to support a multiple-language UI, you must create a per-language DLL that contains only localizable resources. Place this DLL in the same directory as the executable. Do not create a DLL for the system-default language. Localizable resources for the system-default language remain in the executable.

There are no other changes required of the application, and no changes are needed in the core application code.

Your application can call EnumUILanguages to determine which languages are supported, and therefore decide which resource DLLs to install. To determine the end-user default and system default UI languages, use GetUserDefaultUILanguage and GetSystemDefaultUILanguage, respectively.

To load and get the DLL handle for a language, call LoadLibraryEx. Thereafter, this handle is used in all calls to load resources.

In the case of failure to load the appropriate language DLL, for example when the target language is not supported in the application, you must assume that the default preferred language DLL is present on the system.

In addition, you must decide on a default language for your application to use during application initialization in case the requested language is not available.

See Also

EnumUILanguages | GetUserDefaultUILanguage | GetSystemDefaultUILanguage | LoadLibraryEx

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.