Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: win help system



Permlink Replies: 4 - Last Post: Sep 29, 2017 8:57 AM Last Post By: Jan Fiala
stephen lukacs

Posts: 13
Registered: 6/18/12
win help system
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 17, 2014 5:00 PM
hello one and all,

i have my legacy something.hlp and something.cnt files from the old windows. i installed the Windows6.1-KB917607-x64.msu for windows 7 64-bit, which is what i am coding on under delphi XE2. so i designation the Application.HelpFile to the proper path and filename of the something.hlp file and then i attempt to use:

Application.HelpCommand(HELP_FINDER,45);

nothing happens, and when i try:

Application.HelpContext(54);

the application returns the exception:

class EHelpSystemException with message 'No context-sensitive help installed'.

so, what can be done to get this working again. thanx in advance and have a great day. lucas
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: win help system
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 17, 2014 5:36 PM   in response to: stephen lukacs in response to: stephen lukacs
stephen wrote:

i attempt to use:

Application.HelpCommand(HELP_FINDER,45);

nothing happens, and when i try:

Application.HelpContext(54);

the application returns the exception:

class EHelpSystemException with message 'No context-sensitive help installed'.

You need to add the 'Vcl.WinHelpViewer' unit to your 'uses' clause.

--
Remy Lebeau (TeamB)
stephen lukacs

Posts: 13
Registered: 6/18/12
Re: win help system
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 19, 2014 11:39 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
yes, that worked great. thanx, lucas
Jan Fiala

Posts: 2
Registered: 3/22/11
Re: win help system
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 29, 2017 6:36 AM   in response to: stephen lukacs in response to: stephen lukacs
Hello

I found problem in Delphi 10.2 update 1
I am suspicious that the problem appears after implementing of
ID: 30798, Hotfix for Inherited VCL Form HighDPI Regression in 10.2.1
Without hotfix, CHM help works without any problem.
After hotfix, I got exception "no context help installed" when I press F1 each time in my VCL application and no help appears.

Jan

Edited by: Jan Fiala on Sep 29, 2017 6:52 AM
Jan Fiala

Posts: 2
Registered: 3/22/11
Re: win help system
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 29, 2017 8:57 AM   in response to: Jan Fiala in response to: Jan Fiala
My appologize. After testing with different versions of Delphi XE 10.2 I found that problem was caused by missing HTMLHelpViewer unit in Mainform uses.

Jan

Jan Fiala wrote:
Hello

I found problem in Delphi 10.2 update 1
I am suspicious that the problem appears after implementing of
ID: 30798, Hotfix for Inherited VCL Form HighDPI Regression in 10.2.1
Without hotfix, CHM help works without any problem.
After hotfix, I got exception "no context help installed" when I press F1 each time in my VCL application and no help appears.

Jan
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02