delphi如何调用.chm帮助文件?又集中方法?那种好?

解决方案 »

  1.   

    ShellExecute(Handle, 'open', PChar(ExtractFilePath(Application.ExeName) + '\help\Cremation.Chm'), nil, nil, SW_SHOWMAXIMIZED);
      

  2.   

    shellexecute(handle,'open',Yourhelpfile.chm', nil, nil, sw_show);
      

  3.   

    http://expert.csdn.net/Expert/TopicView2.asp?id=864110&datebasetype=nowWinexec('hh.exe  '+Path+'myhelp.chm',sw_normal);
      

  4.   

    在uses中加上shellapi
    原理就是打开一个文件。可以是任意文件,也包括帮助文件。可以用一个API先取得文件的路径,再用shellexecute
      

  5.   

    请问,我做了个测试chm,为什么拷到别的目录里显示的不对,没有目录,索引,查询对话框?