2 REM -- First make map file from Microsoft Visual C++ generated resource.h
3 echo // MAKEHELP.BAT generated Help Map file. Used by FRED.HPJ. >"hlp\fred.hm"
5 echo // Commands (ID_* and IDM_*) >>"hlp\fred.hm"
6 makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\fred.hm"
8 echo // Prompts (IDP_*) >>"hlp\fred.hm"
9 makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\fred.hm"
11 echo // Resources (IDR_*) >>"hlp\fred.hm"
12 makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\fred.hm"
14 echo // Dialogs (IDD_*) >>"hlp\fred.hm"
15 makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\fred.hm"
17 echo // Frame Controls (IDW_*) >>"hlp\fred.hm"
18 makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\fred.hm"
19 REM -- Make help for Project FRED
22 echo Building Win32 Help files
23 start /wait hcrtf -x "hlp\fred.hpj"
25 if exist Debug\nul copy "hlp\fred.hlp" Debug
26 if exist Debug\nul copy "hlp\fred.cnt" Debug
27 if exist Release\nul copy "hlp\fred.hlp" Release
28 if exist Release\nul copy "hlp\fred.cnt" Release