0
votes

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

3
You're missing a file which is included by some other file in the project. But you have provided almost no information on what you're doing. What project? There is absolutely no way anyone can help you with this little information.Mihai Limbășan

3 Answers

1
votes

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.

1
votes

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.

0
votes

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?