Hi Ralf, I've just upgraded to Delphi 2009 and got the same error trying to install the respective DIRegEx_D2009 and DIFileFinder_D2009 packages (Delphi 2009 with update 2): [DCC Error] DIUtils.pas(1499): E2072 Number of elements (256) differs from declaration (730) This is the same error described by Jeng-jie Shen, though the expected number of elements is different. I think it further confirms your understanding of the problem, since I'm using a Central European version of Windows XP - different codepage/language, hence a different element count expected by the compiler. Changing the declaration to ANSI_LOWER_CHAR_TABLE: array[AnsiChar] of AnsiChar = ( eliminates the compiler error. Will you be able to release source code packages for registered users of these components? Very best regards, Marek -- No ads, no nags freeware: http://www.tranglos.com alt. e-mail: marek.jedlinski(at)gmail.com Delphi Inspiration (delphi@xxxxxxxx): > Jeng-jie Shen wrote: >>> I think it's because I don't have DIContainers' source code, just dcu, >>> so I can't modify the declarations in DIContainers.pas to make them >>> version compatible with DIUtils.pas? >> >>I replaced DIUtils.pas with DIUtils.dcu compiled on English Windows >>then HtmlParser can be installed on Chinese Windows successfully. > Very smart and very interesting. > But I think that all other users who suffer from the E2072 compiler > error in Delphi 2009 should instead use the DIHtmlParser 5.0.1 Beta (see my > other message) ;-) > Ralf > _______________________________________________ > Delphi Inspiration mailing list > yunqa@xxxxxxxxxxxxx > //www.freelists.org/list/yunqa _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa