DELPHI: EEncodingError - invalid codepage on xp embedded windows

Hi, I have an application that works windows xp pro, windows Visa, windows 7

But when I run it on windows xp embedded, it does not work and gives the following error:

EEncodingError - Invalid codepage

When the application was created with Delphi 2006, it works on embedded Windows XP

** When the application was created with Delphi 2010, it does not work on Windows XP, built-in ****

+3
source share
2 answers

TEncoding.ASCII 20127, ​​ XP Embedded. . TEncoding D2006.

Indy 10, ? TEncoding.ASCII . , , Indy XP Embedded.

+3

? ?

, , RTL. SysUtils constructor TMBCSEncoding.Create(CodePage, MBToWCharFlags, WCharToMBFlags: Integer);, TEncoding .

CodePage GetCPInfo, , . MSDN , , , , XP Embedded. - , , ?

0

Source: https://habr.com/ru/post/1749251/


All Articles