I have happily been using the code below .... but suddenly (having made some changes to my software) instead of producing my HelpFile I merely end up with the folder containing the Help File.
Can someone throw some light on this please?
(By the way I do have ShellAPI in the uses clause. :- )
procedure TfrmMainForm.btbtnHelpClick(Sender: TObject);
begin
ShellExecute(hInstance, 'OPEN', PChar(Application.HelpFile), nil, nil, sw_Normal);
end;