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.

39 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 FILESPY.HPJ. >"hlp\FileSpy.hm"
  4. echo. >>"hlp\FileSpy.hm"
  5. echo // Commands (ID_* and IDM_*) >>"hlp\FileSpy.hm"
  6. makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\FileSpy.hm"
  7. echo. >>"hlp\FileSpy.hm"
  8. echo // Prompts (IDP_*) >>"hlp\FileSpy.hm"
  9. makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\FileSpy.hm"
  10. echo. >>"hlp\FileSpy.hm"
  11. echo // Resources (IDR_*) >>"hlp\FileSpy.hm"
  12. makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\FileSpy.hm"
  13. echo. >>"hlp\FileSpy.hm"
  14. echo // Dialogs (IDD_*) >>"hlp\FileSpy.hm"
  15. makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\FileSpy.hm"
  16. echo. >>"hlp\FileSpy.hm"
  17. echo // Frame Controls (IDW_*) >>"hlp\FileSpy.hm"
  18. makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\FileSpy.hm"
  19. REM -- Make help for Project FILESPY
  20. echo Building Win32 Help files
  21. start /wait hcw /C /E /M "hlp\FileSpy.hpj"
  22. if errorlevel 1 goto :Error
  23. if not exist "hlp\FileSpy.hlp" goto :Error
  24. if not exist "hlp\FileSpy.cnt" goto :Error
  25. echo.
  26. if exist Debug\nul copy "hlp\FileSpy.hlp" Debug
  27. if exist Debug\nul copy "hlp\FileSpy.cnt" Debug
  28. if exist Release\nul copy "hlp\FileSpy.hlp" Release
  29. if exist Release\nul copy "hlp\FileSpy.cnt" Release
  30. echo.
  31. goto :done
  32. :Error
  33. echo hlp\FileSpy.hpj(1) : error: Problem encountered creating help file
  34. :done
  35. echo.