加入帮助中,一点帮助就弹出.chm文档
请说明,谢谢

解决方案 »

  1.   

    1.WinExec("hh.exe E:\\test\\help.chm",SW_SHOW);
    2.ShellExecute(
    NULL,                         // Handle to parent window
    "open",                       // Action to be performed
    "E:\\test\\help.chm",   // File to open or  NULL,                         // Application parameters
    NULL,                           // Default directory
    SW_RESTORE);
      

  2.   

    #include <HtmlHelp.h>
    #pragma comment(lib, "C:\\Program Files\\HTML Help Workshop\\LIB\\htmlhelp.lib")在指定的函数中调用
    HtmlHelp(NULL, (LPCSTR)helpFile, HH_DISPLAY_TOPIC, 0);