MakeHTMLHelp.bat
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:1k
- @echo off
- REM -- First make map file from Microsoft Visual C++ generated resource.h
- echo // MAKEHELP.BAT generated Help Map file. Used by [!output PROJECT_NAME].HHP. >"hlpHTMLDefines.h"
- echo. >>"hlpHTMLDefines.h"
- echo // Commands (ID_* and IDM_*) >>"hlpHTMLDefines.h"
- makehm /h ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlpHTMLDefines.h"
- echo. >>"hlpHTMLDefines.h"
- echo // Prompts (IDP_*) >>"hlpHTMLDefines.h"
- makehm /h IDP_,HIDP_,0x30000 resource.h >>"hlpHTMLDefines.h"
- echo. >>"hlpHTMLDefines.h"
- echo // Resources (IDR_*) >>"hlpHTMLDefines.h"
- makehm /h IDR_,HIDR_,0x20000 resource.h >>"hlpHTMLDefines.h"
- echo. >>"hlpHTMLDefines.h"
- echo // Dialogs (IDD_*) >>"hlpHTMLDefines.h"
- makehm /h IDD_,HIDD_,0x20000 resource.h >>"hlpHTMLDefines.h"
- echo. >>"hlpHTMLDefines.h"
- echo // Frame Controls (IDW_*) >>"hlpHTMLDefines.h"
- makehm /h /a afxhh.h IDW_,HIDW_,0x50000 resource.h >>"hlpHTMLDefines.h"
- REM -- Make help for Project [!output PROJECT_NAME]
- echo Building Win32 HTML Help files
- start /wait hhc "hlp[!output PROJECT_NAME_OEM].hhp"
- if not exist "hlp[!output PROJECT_NAME_OEM].chm" goto :Error
- if exist Debugnul copy "hlp[!output PROJECT_NAME_OEM].chm" Debug
- if exist Releasenul copy "hlp[!output PROJECT_NAME_OEM].chm" Release
- goto :done
- :Error
- echo hlp[!output PROJECT_NAME_OEM].hhp(1) : error:
- echo.
- :done
- echo.