MakeHelp.bat
上传用户:y440e3
上传日期:2010-03-08
资源大小:200k
文件大小:1k
- @echo off
- REM -- First make map file from Microsoft Visual C++ generated resource.h
- echo // MAKEHELP.BAT generated Help Map file. Used by DRAW.HPJ. >"hlpdraw.hm"
- echo. >>"hlpdraw.hm"
- echo // Commands (ID_* and IDM_*) >>"hlpdraw.hm"
- makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlpdraw.hm"
- echo. >>"hlpdraw.hm"
- echo // Prompts (IDP_*) >>"hlpdraw.hm"
- makehm IDP_,HIDP_,0x30000 resource.h >>"hlpdraw.hm"
- echo. >>"hlpdraw.hm"
- echo // Resources (IDR_*) >>"hlpdraw.hm"
- makehm IDR_,HIDR_,0x20000 resource.h >>"hlpdraw.hm"
- echo. >>"hlpdraw.hm"
- echo // Dialogs (IDD_*) >>"hlpdraw.hm"
- makehm IDD_,HIDD_,0x20000 resource.h >>"hlpdraw.hm"
- echo. >>"hlpdraw.hm"
- echo // Frame Controls (IDW_*) >>"hlpdraw.hm"
- makehm IDW_,HIDW_,0x50000 resource.h >>"hlpdraw.hm"
- REM -- Make help for Project DRAW
- echo Building Win32 Help files
- start /wait hcw /C /E /M "hlpdraw.hpj"
- if errorlevel 1 goto :Error
- if not exist "hlpdraw.hlp" goto :Error
- if not exist "hlpdraw.cnt" goto :Error
- echo.
- if exist Debugnul copy "hlpdraw.hlp" Debug
- if exist Debugnul copy "hlpdraw.cnt" Debug
- if exist Releasenul copy "hlpdraw.hlp" Release
- if exist Releasenul copy "hlpdraw.cnt" Release
- echo.
- goto :done
- :Error
- echo hlpdraw.hpj(1) : error: Problem encountered creating help file
- :done
- echo.