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 7444959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:42:13+00:00 2026-05-29T11:42:13+00:00

We are porting our app to Delphi XE2 from Delphi 6. Problem is, the

  • 0

We are porting our app to Delphi XE2 from Delphi 6. Problem is, the help file will not display no matter what I try.

Using Delphi XE2 (Update 3) on Win 7 64.

Using a valid help file (.chm) that works with my Delphi 6-built app.

I create a simple app with one button that calls help thusly:

  Application.HelpFile := 'Help.chm';
  if Application.HelpFile <> '' then begin
    Application.HelpContext(0);
  end;

I have HTMLHelpViewer in my uses clause.

The help file is in the same directory as the app. When I click on the button the help file is not displayed! I see nothing. No errors.

I tried several different help files, all of which are valid and I can open via Explorer.

I also tried calling the table of contents directly like this:

HtmlHelp(0, Application.HelpFile, HH_DISPLAY_TOC, 0);

Nothing is displayed this way either.

What the heck am I missing here? This is a show stopper if I can’t make the help file display when users hit the F1 key.

—— EDIT – PROBLEM SOLVED! ——

Sigh, I’m an idiot, but only partially. 🙂

The simple app indeed had the help file in the wrong directory. The new Delphi XE2 has the default output in a sub-directory, not the original directory like Delphi 6 used to do. I’ve been bitten by that twice now. 🙂

So, once I figured that issue out I had to go back to the original app and figure that one out.

It turns out we had our own HTMLHelpViewer.pas unit in the project (BIG project) and that conflicted with the built-in HTMLHelpViewer unit that comes with Delphi XE2.

Once I whacked our version of that file and removed it from the hard drive and added in Delphi’s version everything works swimmingly.

Thanks for the knock on the head to help me figure this out.

  • 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-29T11:42:15+00:00Added an answer on May 29, 2026 at 11:42 am

    The only explanation that I can see, given the information that you have provided, is that the help file is not in the current working directory.

    I would keep the working directory out of the equation and set Application.HelpFile to be the fully-qualified path to the help file.

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

Sidebar

Related Questions

I am porting some of our app from c# to java. Some data objects
I am currently porting our code from an alpha (Tru64) to an i386 processor
We are looking at various options in porting our persistence layer from Oracle to
We have recently been faced with the problem of porting our C++ framework to
Im porting a project from php to java. The project is a web-app based
I am currently tasked with porting our website code onto a linux server (from
I'm in the process of porting, enhancing, and D-atizing our reign SDK from C#
I'm in the process of porting my application from an App Engine Datastore to
I'm trying to upgrade some tests as we move our app from Rails 2
I am porting our application from solaris sparc to solaris x86 and I encountered

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.