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.

27 lines
788 B

  1. rem run after test.cmd creates fe.exe
  2. rc -r -v moor
  3. @copy obj\i386\display.exe > nul 2>&1
  4. @copy obj\mips\display.exe > nul 2>&1
  5. @copy obj\alpha\display.exe > nul 2>&1
  6. resonexe -d -v -fo disp.exe moor.res display.exe
  7. link32 -dump -headers display.exe > d1.hdr
  8. link32 -dump -headers disp.exe > d2.hdr
  9. diff d1.hdr d2.hdr
  10. rem
  11. rem disp.exe should run and should display the bitmap headers
  12. rem
  13. link32 -dump -headers fe.exe > b1.hdr
  14. pause
  15. resonexe -d -v -fo moor.exe moor.res fe.exe
  16. link32 -dump -headers moor.exe > b2.hdr
  17. rem
  18. rem diff should show changes to initialized data size and image size,
  19. rem and addition of data to the .rsrc section, and addition of .rsrc1 section.
  20. rem
  21. diff b1.hdr b2.hdr
  22. rem
  23. rem moor.exe should run, and should be bigger than fe.exe
  24. rem