home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / tstcon / makehelp.bat < prev    next >
Encoding:
DOS Batch File  |  1998-03-27  |  904 b   |  30 lines

  1. @echo off
  2. REM -- First make map file from Microsoft Visual C++ generated resource.h
  3. REM -- Now done manually by running MakeTCHM.bat, so that we can check
  4. REM -- hlp\TstCon.hm into SourceSafe for the localization crew to get at
  5. REM --   -DBartol, 10/22/97
  6.  
  7. REM -- call MakeTCHM.bat
  8.  
  9. REM -- Make help for Project TstCon
  10.  
  11. echo Building Win32 Help files
  12. if exist hlp\TstCon32.hlp del hlp\TstCon32.hlp
  13. start /wait hcw /C /E /M "hlp\TstCon.hpj"
  14. if errorlevel 1 goto :Error
  15. if not exist "hlp\TstCon32.hlp" goto :Error
  16. if not exist "hlp\TstCon32.cnt" goto :Error
  17. echo.
  18. if exist Debug\nul copy "hlp\TstCon32.hlp" Debug
  19. if exist Debug\nul copy "hlp\TstCon32.cnt" Debug
  20. if exist Release\nul copy "hlp\TstCon32.hlp" Release
  21. if exist Release\nul copy "hlp\TstCon32.cnt" Release
  22. echo.
  23. goto :done
  24.  
  25. :Error
  26. echo hlp\TstCon.hpj(1) : error: Problem encountered creating help file
  27.  
  28. :done
  29. echo.
  30.