简体   繁体   中英

Delphi 4 error:- file not found:'htmlcons.inc'

I was trying to run/compile/build/ the Project (Delphi 4).

I tried out this method also http://www.cryer.co.uk/brian/delphi/error_fnfCDO_TLB.htm

It consistently shows to an error

  "file not found:'htmlcons.inc'"

at wits end ,what to do?

Kindly help.

Thanks and Regards -Vas

Add the path of htmlcons.inc file, in the project search path.

Edit :

I don't have Delphi 4 to check what is the way to do that.

You should add the full folder path "C:\\Program Files\\PBear\\HTMLComponents\\Thtml\\Package" where htmlIcons.inc is, in the project option "Search Path", or in the Global "Library Path".

Project Options in Delphi 2009: - Menu: Project | Options | Delphi Compiler | Search Path

Global Options in Delphi 2009: - Menu: Tools | Options | Environment Options | Delphi Options | Library Win32 | Library path

It will work with any of both option, if you change global, it will be there for any project, or if you add only to the project option you are compiling, you can add a relative path.

htmlcons.inc is part of the "HTML Viewer Components" available (for free) from http://pbear.com/ .

It is basically a Delphi based HTML rendering engine.

You mentioned in your other question that you were having trouble with the PBear components, and updating your library path fixed it. Did that also fix this problem?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM