Source code of Windows XP (NT5)
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.

18 lines
1.0 KiB

  1. This set of tests is designed for basic verification of the UpdateResource
  2. api. It also tests boundary conditions for the api. Two tests are run.
  3. (There used to be three, but changes in the exe format/sections caused
  4. one of them to become redundant.)
  5. 1) Test.cmd builds fontedit.exe to use for a template executeable.
  6. It then replaces the resources in fontedit with the same resources
  7. from the resource file, using resonexe (which uses UpdateResource)
  8. This should result in an executable the same size as the original,
  9. as the result of running resonexe should be the same as running
  10. cvtres and linking the .res object.
  11. 2) The second test script, moor.cmd, is run after test.cmd completes.
  12. This script builds a resource file that contains several large bitmaps.
  13. These bitmaps exceed 64k in size, and their addition should result in
  14. UpdateResource having to create an extra (.rsrc1) section in the file,
  15. as it will not be able to fit them into the space between the end of
  16. the physical data of .rsrc and the next section.