The MultiLanguage Object is the primary MLang object. It provides access to all other objects and interfaces implemented by MLang.
Object Information
CLSID CLSID_CMultiLanguage Implementation System (Mlang.dll) Header and IDL files Mlang.h, Mlang.idl Minimum availability Internet Explorer 4.0, 5 (IMultiLanguage2, IMLangFontLink2) Minimum operating systems Windows 95, Windows NT
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Creation/Access Functions
CoCreateInstance Creates an instance of this object.
Interfaces Implemented
IMLangCodePages Implements various methods for working with a set of code pages at once, as well as for determining which code pages contain a Unicode character or string. IMLangFontLink Use IMLangFontLink2 in place of this interface. IMLangFontLink2 Provides the MLang font linking functionality, which is used to create custom fonts when characters from a variety of code pages must be output at once. IMLangLineBreakConsole Implements a line-breaking service for console-based applications. IMultiLanguage Use IMultiLanguage2 in place of this interface. IMultiLanguage2 Top-level MLang interface that implements the most basic MLang functionality. NoteIMulitLanguage2 is not implemented in Windows CE, use IMultiLanguage.
Remarks
The MultiLanguage Object supports four interfaces that provide the following services:
In addition, the MultiLanguage Object provides access to the Code Page Enumeration Object, the Locale Enumeration Object, and the Conversion Object, each of which provides a specialized set of services to the client.
- Retrieving code page and locale information from the registry.
- Converting between different code pages.
- Determining the code pages to which a given character or set of characters belongs.
- Creating custom fonts to display characters from multiple code pages.
- Determining where a line break should occur based on the given locale.