Hlp-call --> Stack overflow

Hello!

I'm working with Delphi 3.0 C/S and Win98 SE. I've problems when calling my hlp-file from a delphi-program. The hlp is 70 kb. Now a bit code from the delphi-help:

procedure TForm1.Button5Click(Sender: TObject);
begin
  Application.HelpFile := 'VCL3.HLP';
  Application.HelpJump('TApplication_HelpJump');
end;

end.

At VCL3.HLP i type in my helpfile. At TApplication_HelpJump i type in the #-footnote from my rtf-file. The first test from within the ide was okay so i put this call in all five forms. Now when activating the help with F1, a button- or a menu-click i always get the message "stack overflow"! Why this? Is there anybody who can explain this to me?
Thanks a lot for your help!!!
Bye Ingo
SchmoekelAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SchmoekelAuthor Commented:
Adjusted points to 300
0
mscatenaCommented:
In 99% of the cases, a Stack overflow is caused by a routine calling itself, shuch as:

procedure A;
begin
  A;
end;

Things may be more complex: A calls B than calls C that calls A.

In Delphi it may also happen if an event triggers another that triggers itself. It can happens without you noticing. OnFormActivate and OnFormDeactivate are good candidates to check. Changing the contents of a TEdit in the OnChange event is another common mistake.

Mauro

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SchmoekelAuthor Commented:
Hi Mauro,

you're right! I've mixed application-help-calls on the form and on the button ;-)

Thanks a lot!
Ingo
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.