i had rebuided it for nearly 100 times!!!!!crying

解决方案 »

  1.   

    1.在菜单tools-->options-->directories->library files下加入htmlhelp.lib所在路径
    2.在菜单project-->settings-->link-->object/library modules加入htmlhelp.lib
    3.build
    4.ok?
      

  2.   

    1.在菜单tools-->options-->directories->library files下加入htmlhelp.lib所在路径
    2.在菜单project-->settings-->link-->object/library modules加入htmlhelp.lib
    3.build
    4.ok?
      

  3.   

    还是没有ok,sigh;
    怎么用执行外部命令?我直接用hh.exe了事,以后再改.
    我怀疑是我的htmlhelp.lib有问题,你有没有?
    发到[email protected],谢谢!
      

  4.   

    知道,可能就是盘坏了,气;
    我用dumpbin \exports从htmlhelp.lib导不出来任何东西,可能是htmlhelp.lib有错吧;
    那个老大有能用的htmlhelp.lib发一个过来,谢谢先!
      

  5.   

    先说怎么执行外部程序???bow
      

  6.   

    ShellExecute(hwnd, ...,"gpmn.chm",....,....,....);就可以
    把邮箱给我,给你发
      

  7.   

    CString szFileName="SanHelp.chm"
       CString szCommand = "hh ";
    char szTemp[255];
    szCommand += szFileName;
    STARTUPINFO StartupInfo = {0};
    PROCESS_INFORMATION ProcessInfo; strcpy(szTemp,szCommand);
    StartupInfo.cb = sizeof(STARTUPINFO);
    if(CreateProcess(NULL,szTemp,NULL,NULL,FALSE,0,NULL,NULL,&StartupInfo,&ProcessInfo))
    ;