MakeHelp.bat
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:1k
源码类别:
DirextX编程
开发平台:
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 PFM.HPJ. >"hlpPFM.hm"
- echo. >>"hlpPFM.hm"
- echo // Commands (ID_* and IDM_*) >>"hlpPFM.hm"
- makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlpPFM.hm"
- echo. >>"hlpPFM.hm"
- echo // Prompts (IDP_*) >>"hlpPFM.hm"
- makehm IDP_,HIDP_,0x30000 resource.h >>"hlpPFM.hm"
- echo. >>"hlpPFM.hm"
- echo // Resources (IDR_*) >>"hlpPFM.hm"
- makehm IDR_,HIDR_,0x20000 resource.h >>"hlpPFM.hm"
- echo. >>"hlpPFM.hm"
- echo // Dialogs (IDD_*) >>"hlpPFM.hm"
- makehm IDD_,HIDD_,0x20000 resource.h >>"hlpPFM.hm"
- echo. >>"hlpPFM.hm"
- echo // Frame Controls (IDW_*) >>"hlpPFM.hm"
- makehm IDW_,HIDW_,0x50000 resource.h >>"hlpPFM.hm"
- REM -- Make help for Project PFM
- echo Building Win32 Help files
- start /wait hcw /C /E /M "hlpPFM.hpj"
- if errorlevel 1 goto :Error
- if not exist "hlpPFM.hlp" goto :Error
- if not exist "hlpPFM.cnt" goto :Error
- echo.
- if exist Debugnul copy "hlpPFM.hlp" Debug
- if exist Debugnul copy "hlpPFM.cnt" Debug
- if exist Releasenul copy "hlpPFM.hlp" Release
- if exist Releasenul copy "hlpPFM.cnt" Release
- echo.
- goto :done
- :Error
- echo hlpPFM.hpj(1) : error: Problem encountered creating help file
- :done
- echo.