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