2007-09-19 14:26:33 UTC
following code when the menu item Help contents is selected, or F1 is
procedure TForm_Main.SubMenu_ContentsClick(Sender: TObject);
Application.HelpFile := ExtractFilePath(Application.ExeName)
Every time the user does this, a new winhlp32.exe process is started.
So after some time the machine slows down with many winhlp32.exe
processes running and consuming the CPU.
I have tried to add a statement before the current line
to force the running winhlp32.exe to stop before the next starts, but
this does not work.
Any suggestions, please?