Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.4 KiB

  1. @echo off
  2. REM -- First make map file from Microsoft Visual C++ generated resource.h
  3. echo // MAKEHELP.BAT generated Help Map file. Used by MINIDEV.HPJ. >"hlp\MiniDev.hm"
  4. echo. >>"hlp\MiniDev.hm"
  5. echo // Commands (ID_* and IDM_*) >>"hlp\MiniDev.hm"
  6. makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\MiniDev.hm"
  7. echo. >>"hlp\MiniDev.hm"
  8. echo // Prompts (IDP_*) >>"hlp\MiniDev.hm"
  9. makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\MiniDev.hm"
  10. echo. >>"hlp\MiniDev.hm"
  11. echo // Resources (IDR_*) >>"hlp\MiniDev.hm"
  12. makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\MiniDev.hm"
  13. echo. >>"hlp\MiniDev.hm"
  14. echo // Dialogs (IDD_*) >>"hlp\MiniDev.hm"
  15. makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\MiniDev.hm"
  16. makehm IDD_,HIDD_,0x20000 ModlData\resource.h >>"hlp\MiniDev.hm"
  17. echo. >>"hlp\MiniDev.hm"
  18. echo // Frame Controls (IDW_*) >>"hlp\MiniDev.hm"
  19. makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\MiniDev.hm"
  20. REM -- Make help for Project MINIDEV
  21. echo Building Win32 Help files
  22. start /wait hcw /C /E /M "hlp\MiniDev.hpj"
  23. if errorlevel 1 goto :Error
  24. if not exist "hlp\MiniDev.hlp" goto :Error
  25. if not exist "hlp\MiniDev.cnt" goto :Error
  26. echo.
  27. if exist Debug\nul copy "hlp\MiniDev.hlp" Debug
  28. if exist Debug\nul copy "hlp\MiniDev.cnt" Debug
  29. if exist Release\nul copy "hlp\MiniDev.hlp" Release
  30. if exist Release\nul copy "hlp\MiniDev.cnt" Release
  31. echo.
  32. goto :done
  33. :Error
  34. echo hlp\MiniDev.hpj(1) : error: Problem encountered creating help file
  35. :done
  36. echo.