MakeHelp.bat
资源名称:基本GIS系统开发.rar [点击查看]
上传用户:yklx818
上传日期:2013-04-13
资源大小:459k
文件大小:1k
源码类别:
GIS编程
开发平台:
Visual C++
- @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.