makehelp.bat
资源名称:COM 原理与应用.rar [点击查看]
上传用户:biuytresa
上传日期:2007-12-07
资源大小:721k
文件大小:2k
源码类别:
DNA
开发平台:
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 SCRIBBLE.HPJ. >"hlpScribble.hm"
- echo. >>"hlpScribble.hm"
- echo // Commands (ID_* and IDM_*) >>"hlpScribble.hm"
- makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlpScribble.hm"
- echo. >>"hlpScribble.hm"
- echo // Prompts (IDP_*) >>"hlpScribble.hm"
- makehm IDP_,HIDP_,0x30000 resource.h >>"hlpScribble.hm"
- echo. >>"hlpScribble.hm"
- echo // Resources (IDR_*) >>"hlpScribble.hm"
- makehm IDR_,HIDR_,0x20000 resource.h >>"hlpScribble.hm"
- echo. >>"hlpScribble.hm"
- echo // Dialogs (IDD_*) >>"hlpScribble.hm"
- makehm IDD_,HIDD_,0x20000 resource.h >>"hlpScribble.hm"
- echo. >>"hlpScribble.hm"
- echo // Frame Controls (IDW_*) >>"hlpScribble.hm"
- makehm IDW_,HIDW_,0x50000 resource.h >>"hlpScribble.hm"
- REM -- Make help for Project SCRIBBLE
- if "%1" == "?" goto :Error
- if "%1" == "/?" goto :Error
- if "%1" == "-?" goto :Error
- if "%1" == "help" goto :Error
- if "%1" == "-help" goto :Error
- if "%1" == "/help" goto :Error
- if "%1" == "MAC" goto Mac
- :Intel
- if not "%1" == "" goto :Error
- if not "%2" == "" goto :Error
- echo Building Win32 Help files
- start /wait hcrtf -x "hlpScribble.hpj"
- echo.
- if exist Debugnul if exist hlpScribble.hlp copy "hlpScribble.hlp" Debug
- if exist Debugnul if exist hlpScribble.cnt copy "hlpScribble.cnt" Debug
- if exist Releasenul if exist hlpScribble.hlp copy "hlpScribble.hlp" Release
- if exist Releasenul if exist hlpScribble.cnt copy "hlpScribble.cnt" Release
- goto :done
- :Mac
- echo Building Macintosh Help files
- call hc35 hlpScriMac.hpj
- if %2x == x goto :done
- echo Copying to remote machine
- mfile copy -c MSH2 -t HELP "ScriMac.hlp" %2
- goto :done
- :Error
- echo Usage MAKEHELP [MAC [macintosh-path]]
- echo Where macintosh-path is of the form:
- echo ":<MacintoshName>:...:<MacintoshHelpFile>"
- :done
- echo.