When I build my application exe and the XTToolkit DLL using Unicode everything works as expected.
But I'm testing different language combinations to better understand what is going on. When I build both my application and the XTToolkit Pro using non-Unicode I have problems seeing e.g. simplified Chinese characters in my program. This is of cause expected. Then I set the manifest file for my exe to include the line:
<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
|
This makes my exe using the MFC controls able to show the simplified Chinese characters correctly. However the controls used by the XTToolkit don't shot the text as UTF-8.
See the example above, where a simple MFC dialog belonging to my exe shows the text correctly, but the XTPGrid display the same text incorrectly.
So, what is the problem? How do I tell the XTToolkit DLL to use UTF-8? Do I need to set the same manifest for the XTPToolkit DLL I build? Do I need to set something like this?
XTPResourceManager()->GetLanguageInfo()->nCodePage |
Edit....
It seems that adding the manifest to the XTToolkit DLL does not make a difference ? But, enabling the "Beta: Use Unicode UTF-8 for worldwide language support" regional settings feature in Windows 10/11 solves the problem in the XTToolkit controls. So the question is then, how do I enable this programmatically or through a manifest for the XTToolkit DLL controls?
Any Ideas?
------------- Product: Xtreme ToolkitPro (24.0.0) Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++)
|