EC Software Help Suite (EHS): Free Components for Delphi Help Systems

Written by

in

Fixing “Class THelpRouter Not Found” with EC Software Help Suite

If you are using EC Software Help Suite (the foundation behind Help+Manual) for Delphi or C++Builder applications, you might encounter the frustrating error message: “Class THelpRouter not found”.

This error typically occurs when your application tries to initialize help support, but the required help component class hasn’t been properly registered or linked into your project.

Here is a straightforward guide to diagnosing and fixing this issue, ensuring your help files load correctly. Understanding the Error

The THelpRouter is the core component that manages how your application interacts with help files, acting as a bridge between the user interface and your help system. When you see “Class THelpRouter not found,” it means:

The THelpRouter component is not properly placed on a form or data module.

The required EC Software units are missing from the uses clause.

The package containing the Help Suite components is not registered in your IDE. Step-by-Step Fixes 1. Verify Components on Form/Data Module

The fastest fix is often checking that the component is actually there.

Open your main form or the Data Module intended for application services.

Look for the THelpRouter component (usually from the “EC Help” tab in the component palette). If it is missing, add it.

Ensure that the HelpRouter property of your TApplication (or form) is linked to this component. 2. Check the uses Clause (Delphi) or Includes (C++)

The compiler needs to know where the THelpRouter class definition lives. Ensure that the proper Help Suite unit is included in your project.

Delphi: Add ecHelpRouter (or similar unit name depending on your Help Suite version) to the uses clause of your form or data module. uses …, ecHelpRouter; Use code with caution. C++Builder: Add the header file to your source: #include “ecHelpRouter.hpp” Use code with caution. 3. Re-register EC Software Help Suite Packages

If the components were added to the form previously but are now missing or throwing errors, the IDE might have lost the registration of the design-time package. Go to Component > Install Packages. Look for “EC Software Help Suite” or similar in the list. If it is unchecked, check it.

If it is missing, click Add… and locate the .bpl file for the Help Suite in your installation directory, then add it. 4. Rebuild the Project

After ensuring the component is present and the units are used, perform a clean build. Select Project > Clean Select Project > Build [YourProjectName] Why This Happens (And How to Prevent It)

This error is common when transferring projects between computers, upgrading Delphi/C++Builder, or upgrading the Help Suite version itself. To prevent it:

Keep paths consistent: Ensure the Help Suite library paths are included in your IDE’s library path (Tools > Options > Language > Delphi > Library).

Use Project Files: Always open the .dproj (Delphi) or .cbproj (C++) file rather than just the source code, as this retains component registration paths.

By following these steps, you should be able to resolve the “Class THelpRouter not found” error and restore seamless help integration to your application.

If you need to check official documentation or updates, visit the EC Software Help+Manual support website to ensure you are using the latest version of the help components.

If you want me to help you debug this specific issue, please let me know: Which version of Delphi/C++Builder are you using? Did this error appear after updating Help+Manual or Delphi?

Are you able to see the “EC Help” component tab in your IDE? Saved time Comprehensive Inappropriate Not working

A copy of this chat, including the images and video, will be included with your feedback A copy of this chat will be included with your feedback

Your feedback will include a copy of this chat and the image from your search

Your feedback will include a copy of this chat, any links you shared, and the image from your search.

Thanks for letting us know

Google may use account and system data to understand your feedback and improve our services, subject to our Privacy Policy and Terms of Service. For legal issues, make a legal removal request.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *