Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4031494
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:36:15+00:00 2026-05-20T11:36:15+00:00

I am upgrading from Delphi 6 to Delphi XE. In Delphi 6 I was

  • 0

I am upgrading from Delphi 6 to Delphi XE. In Delphi 6 I was using HTML help files (.chm) and used the StoHtmlHelp to make it so that I could call context sensitive help like we used to call .hlp files. I’m upgrading to Delphi XE so I need to use that native HTML help support.

I know I’m supposed to add HTMLHelpViewer to the uses clause of the project, but when I do I get a compiler warning that it couldn’t find the file.

Could not compile used unit ‘HTMLHelpViewer.pas’

Does anyone know why Delphi isn’t finding this file by default? It should be built in.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:36:16+00:00Added an answer on May 20, 2026 at 11:36 am

    You don’t actually need to add it the uses clause of the .dpr file – you just need to use it from some unit in your project.

    Having said that, you may actually prefer to add it to your .dpr file, and if so then do it like this:

    uses
      Forms,
      HtmlHelpViewer,
      MyUnit in 'MyUnit.pas',
    

    I’m guessing that you have something like this:

    uses
      Forms,
      HtmlHelpViewer in 'C:\Program Files\Borland\Delphi6\Source\VCL\HtmlHelpViewer.pas',
      MyUnit in 'MyUnit.pas',
    

    This will fail because you are asking XE to compile D6 source.

    For RTL/VCL units its best to omit the path to the file and let the compiler find it (it knows where to look).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm upgrading a application from Delphi 6 to Delphi XE. I am using a
We are upgrading our application from Delphi 2007 to Delphi XE2, which includes unicode
Have someone tried out DeCAL in Delphi 2009? I'm thinking about upgrading from 2007,
I noticed after upgrading from 4.2 to 4.3.1 that there is no longer a
I am upgrading from the old SecureWebPages that automates the switching between Http and
I have a hairy set of routes that I'm upgrading from Rails 2 to
We are upgrading our project from Delphi 2006 to Delphi 2010. Old code was:
I'm upgrading my application from Delphi 2007 to Delphi XE. I have my personal
I am upgrading a project from Delphi 2009 to D2010 and came across the
I am upgrading from ruby 1.8.7 to ruby 1.9.3. I noticed that there is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.