home *** CD-ROM | disk | FTP | other *** search
/ distrib.akp.su/Programming/Vb-6+Rus/ / distrib.akp.su.tar / distrib.akp.su / Programming / Vb-6+Rus / COMMON / MSDEV98 / BIN / IDE / CUSTMWZ.AWX / TEMPLATE / MAKEHELP.BAT < prev    next >
DOS Batch File  |  1998-06-18  |  1KB  |  32 lines

  1. @echo off
  2. $$IF(HM_NOTE)
  3.  
  4. REM -- PLEASE NOTE: OEM VS. ANSI CHARACTER SET DIFFERENCES
  5. REM -- Many of the file names below look wierd in most editors because they need to be 
  6. REM -- in the OEM character set, not the ANSI character set, in order to make batch  
  7. REM -- files work right. The output and editor windows work with the ANSI character set.  
  8. REM -- Where names are seen only in the output window, they have been left in the 
  9. REM -- ANSI character set.
  10.  
  11. $$ENDIF    //HM_NOTE
  12. REM -- First make map file from Microsoft Visual C++ generated resource.h
  13. echo // MAKEHELP.BAT generated Help Map file.  Used by $$ROOT$$.HPJ. >"hlp\$$HM_FILE_OEM$$.hm"
  14. echo. >>"hlp\$$HM_FILE_OEM$$.hm"
  15. echo // Dialogs (IDD_*) >>"hlp\$$HM_FILE_OEM$$.hm"
  16. makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\$$HM_FILE_OEM$$.hm"
  17. echo. >>"hlp\$$HM_FILE_OEM$$.hm"
  18.  
  19. REM -- Make help for Project $$ROOT$$
  20.  
  21. start /wait hcw /C /E /M "$$root_oem$$.hpj"
  22. if %errorlevel% == 1 goto :Error
  23. if exist Debug\nul copy "$$root_oem$$.hlp" Debug
  24. if exist Release\nul copy "$$root_oem$$.hlp" Release
  25. goto :done
  26.  
  27. :Error
  28. echo $$root$$.hpj(1) : error: Problem encountered creating help file
  29.  
  30. :done
  31. echo.
  32.