Code Page Enumeration Obj...     Locale Enumeration Object     MLang Objects    
Web Workshop (Miscellaneous)

Conversion Object


The Conversion Object is a conversion engine dedicated to a specified combination of source and destination code pages.

Object Information

CLSID CLSID_CMLangConvertCharset
Implementation System (Mlang.dll)
Header and IDL files Mlang.h, Mlang.idl
Minimum availability Internet Explorer 4.0
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 the Conversion Object. If an instance is created in this way, the client must initialize the object through IMLangConvertCharset::Initialize before calling any of the conversion methods.
IMultiLanguage::CreateConvertCharset Provides the address of an IMLangConvertCharset interface and initializes the Conversion Object with the specified source and destination code pages as well as the specified property.

Interfaces Implemented

IMLangConvertCharset Operates on the Conversion Object, allowing the client to perform multiple conversions from the same combination of source and destination code pages.

Remarks

To avoid creating and deleting many instances of the Conversion Object, callers can reinitialize an object whenever a change in code pages is needed.

A client should use this object to perform a number of conversions between the same two code pages.

See Also

IMLangConvertCharset::DoConversion, IMLangConvertCharset::DoConversionFromUnicode, IMLangConvertCharset::DoConversionToUnicode, IMLangConvertCharset::GetDestinationCodePage, IMLangConvertCharset::GetProperty, IMLangConvertCharset::GetSourceCodePage, MLCONVCHAR



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.