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

  1. @echo off
  2. REM -- First make map file from App Studio generated resource.h
  3. echo // MAKEHELP.BAT generated Help Map file.  Used by scribble.HPJ. >hlp\scribble.hm
  4. echo. >>hlp\scribble.hm
  5. echo // Commands (ID_* and IDM_*) >>hlp\scribble.hm
  6. makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>hlp\scribble.hm
  7. echo. >>hlp\scribble.hm
  8. echo // Prompts (IDP_*) >>hlp\scribble.hm
  9. makehm IDP_,HIDP_,0x30000 resource.h >>hlp\scribble.hm
  10. echo. >>hlp\scribble.hm
  11. echo // Resources (IDR_*) >>hlp\scribble.hm
  12. makehm IDR_,HIDR_,0x20000 resource.h >>hlp\scribble.hm
  13. echo. >>hlp\scribble.hm
  14. echo // Dialogs (IDD_*) >>hlp\scribble.hm
  15. makehm IDD_,HIDD_,0x20000 resource.h >>hlp\scribble.hm
  16. echo. >>hlp\scribble.hm
  17. echo // Frame Controls (IDW_*) >>hlp\scribble.hm
  18. makehm IDW_,HIDW_,0x50000 resource.h >>hlp\scribble.hm
  19. REM -- Make help for Project scribble
  20. call hc31 scribble.hpj
  21. if exist windebug copy scribble.hlp windebug
  22. if exist winrel copy scribble.hlp winrel
  23. if exist macdebug copy scribble.hlp macdebug
  24. if exist macrel copy scribble.hlp macrel
  25. echo.
  26.