home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / controls / testhelp / makehelp.bat < prev    next >
DOS Batch File  |  1998-03-26  |  1KB  |  29 lines

  1. @echo off
  2. REM -- First, make map file from resource.h
  3. echo // MAKEHELP.BAT generated Help Map file.  Used by TESTHELP.HPJ. >hlp\testhelp.hm
  4. echo. >>hlp\testhelp.hm
  5. echo // Commands (ID_* and IDM_*) >>hlp\testhelp.hm
  6. makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>hlp\testhelp.hm
  7. echo. >>hlp\testhelp.hm
  8. echo // Prompts (IDP_*) >>hlp\testhelp.hm
  9. makehm IDP_,HIDP_,0x30000 resource.h >>hlp\testhelp.hm
  10. echo. >>hlp\testhelp.hm
  11. echo // Resources (IDR_*) >>hlp\testhelp.hm
  12. makehm IDR_,HIDR_,0x20000 resource.h >>hlp\testhelp.hm
  13. echo. >>hlp\testhelp.hm
  14. echo // Dialogs (IDD_*) >>hlp\testhelp.hm
  15. makehm IDD_,HIDD_,0x20000 resource.h >>hlp\testhelp.hm
  16. echo. >>hlp\testhelp.hm
  17. echo // Frame Controls (IDW_*) >>hlp\testhelp.hm
  18. makehm IDW_,HIDW_,0x50000 resource.h >>hlp\testhelp.hm
  19.  
  20.  
  21. REM Appwizard generates a call lto hc31.exe to build your
  22. REM help file.  Since hc31.exe does not ship with VC++
  23. REM anymore, you can just use the Help Workshop (hcw.exe)
  24. REM to edit and build your help project.
  25.  
  26. REM -- Make help for Project TESTHELP
  27.  call hcw /c /m /e testhelp.hpj
  28.  echo.
  29.