[yunqa.de] Re: HTMLParser install error in Delphi 2009

> Do you have other Delphi Inspiration components (i.e. DIContainers, DIRegEx) 
> installed in your Delphi IDE?

No. I can't install any DI* component in Delphi 2009 on Traditional
Chinese Windows.
So there's no existing Delphi Inspiration components when I try to
install HTMLParser.

> If so, please deinstall all of them from Delphi and delete any generated 
> DI*.bpl files. Next extract all component packages files into a single, empty 
> directory (overwrite existing files if requested). Create a new package (you 
> can use DIHtmlParser_Dx.dpk as a base) and add all DI*Reg.pas files to it. 
> Build and install.
>
> This will create a single package for mulitple Delphi Inspiration products 
> and thus avoid using DIUtils.pas from different directories.

My Steps to install HtmlParser:
1. Open DIHtmlParser\source\DIHtmlParser_D2009.dpk
2. Execute 'Build'
3. Error message: [DCC Fatal Error] DIHtmlParserReg.pas(31): F1026
File not found: 'DIContainers.dcu'
4. Add DIHtmlParser\D2009 to Delphi Library Path
5. Execute 'Build'
6. Error message: [DCC Error] DIUtils.pas(1499): E2072 Number of
elements (256) differs from declaration (63737)
    The #255 error
7. Modify the 3 declarations in DIUtils.pas to avoid #255 error
8. Execute 'Build'
9. Error message: [DCC Fatal Error] DIHtmlParserReg.pas(31): F2051
Unit DIContainers was compiled with a different version of
DIUtils.ANSI_UPPER_CHAR_TABLE

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?
_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
http://www.freelists.org/list/yunqa



Other related posts: