Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi TextSuite Array problem (https://www.delphipraxis.net/134464-textsuite-array-problem.html)

EWeiss 22. Mai 2009 18:24


TextSuite Array problem
 
Leider läßt sich TextSuite in meinen Projekt mit D2009 nicht kompilieren.
TextSuite

Der Fehler!
Zitat:

[DCC Fehler] TextSuiteWideUtils.pas(1061): E2072 Anzahl der Elemente (256) weicht von der Deklaration (65536) ab
Delphi-Quellcode:
  trailingBytesForUTF8: array [char] of byte = (
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
    2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5
  );
Wo liegt das problem die angabe der Elemente 256 stimmt.

gruss Emil

mkinzler 22. Mai 2009 18:27

Re: TextSuite Array problem
 
Nein, ein Char in D2009 aht 16 Bit (65536)

EWeiss 22. Mai 2009 18:30

Re: TextSuite Array problem
 
Zitat:

Zitat von mkinzler
Nein, ein Char in D2009 aht 16 Bit (65536)

Wie kann ich den fehler jetzt beheben ?

gruss Emil

mkinzler 22. Mai 2009 18:33

Re: TextSuite Array problem
 
Statt Char AnsiChar schreiben

EWeiss 22. Mai 2009 18:36

Re: TextSuite Array problem
 
Zitat:

Zitat von mkinzler
Statt Char AnsiChar schreiben

Danke schön.

gruss Emil


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:19 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz