Delphi XE and calling a context help

This section is for programmers. Please use it for all discussons on interfacing help with your applications and related subjects.

Moderators: Alexander Halser, Michael Schwarzl

Post Reply
User avatar
VictorL
Posts: 904
Joined: Mon Apr 13, 2009 11:03 am
Location: Moscow, Russia

Delphi XE and calling a context help

Unread post by VictorL »

Hi!
Now we're integrating a context help to our system using Delphi XE.

There's a problem this time.
When the same a-keyword was added in a different topics we wait when F1 pressed the list with these topics arises and we can choice any topic to browse it.
Now after this list arises our using system is stopped and the work can begin with using Task Manager only (deleting this process).

When this was done with Delphi 7 all worked fine without any stops.

Maybe someone knows how to solve it?

Thanks in an advance!
Tim Frost
Posts: 319
Joined: Mon Nov 22, 2004 11:45 pm

Re: Delphi XE and calling a context help

Unread post by Tim Frost »

I would suggest creating a very simple form with a single button, in whose event handler you make the help call. Build it with 'debug DCUs', run it under the debugger, and gradually work down to the lowest level function call which causes the hang. When run under the debugger, you should be able to break out and start another test (to go deeper into the call tree) using Control-F2, or break out of a tight loop (if that is the problem) using F12. You will not need to use task-manager to kill it, in fact you will probably not be able to while it is being debugged. If that does not help, show here the code from your event handler and Uses clause, and someone may spot something.
User avatar
VictorL
Posts: 904
Joined: Mon Apr 13, 2009 11:03 am
Location: Moscow, Russia

Re: Delphi XE and calling a context help

Unread post by VictorL »

Hi!
Tim Frost wrote:I would suggest creating a very simple form with a single button, in whose event handler you make the help call. Build it with 'debug DCUs', run it under the debugger, and gradually work down to the lowest level function call which causes the hang. When run under the debugger, you should be able to break out and start another test (to go deeper into the call tree) using Control-F2, or break out of a tight loop (if that is the problem) using F12. You will not need to use task-manager to kill it, in fact you will probably not be able to while it is being debugged. If that does not help, show here the code from your event handler and Uses clause, and someone may spot something.
Thanks for an answer. We did it but with one restriction. Under Delphi XE we can't call the help context topic if inside a-keyword is in 2 and more topics. If the one and only a-keyword is in one and only topic it works fine.
Post Reply