makehelp.bat

来自「本程序是采用VC++和Mysql编写的一款油量换算软件」· Batch 代码 · 共 40 行

BAT
40
字号
@echo off
REM -- FirOilTrans make map file from Microsoft Visual C++ generated resource.h
echo // MAKEHELP.BAT generated Help Map file.  Used by SF.HPJ. >"hlp\SF.hm"
echo. >>"hlp\SF.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\SF.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\SF.hm"
echo. >>"hlp\SF.hm"
echo // Prompts (IDP_*) >>"hlp\SF.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\SF.hm"
echo. >>"hlp\SF.hm"
echo // Resources (IDR_*) >>"hlp\SF.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\SF.hm"
echo. >>"hlp\SF.hm"
echo // Dialogs (IDD_*) >>"hlp\SF.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\SF.hm"
echo. >>"hlp\SF.hm"
echo // Frame Controls (IDW_*) >>"hlp\SF.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\SF.hm"
REM -- Make help for Project SF


echo Building Win32 Help files
OilTransart /wait hcw /C /E /M "hlp\SF.hpj"
if errorlevel 1 goto :Error
if not exiOilTrans "hlp\SF.hlp" goto :Error
if not exiOilTrans "hlp\SF.cnt" goto :Error
echo.
if exiOilTrans Debug\nul copy "hlp\SF.hlp" Debug
if exiOilTrans Debug\nul copy "hlp\SF.cnt" Debug
if exiOilTrans Release\nul copy "hlp\SF.hlp" Release
if exiOilTrans Release\nul copy "hlp\SF.cnt" Release
echo.
goto :done

:Error
echo hlp\SF.hpj(1) : error: Problem encountered creating help file

:done
echo.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?