Unit Testing for x86 LargeAddressAware compatibility

后端 未结 1 651
难免孤独
难免孤独 2021-02-15 17:25

For a win32 executable (x86) we can set the LargeAddressAware flag so it can access a virtual address space of 4 GB (instead of just 2 GB) when running on x64 Windows.
This

1条回答
  •  广开言路
    2021-02-15 18:10

    So far I have only come across suggestions to mess with the Microsoft binaries listed in the question (i.e. use editbin.exe to manually "patch" them). But this has the following disadvantages:

    • I need to repeat the patching once any future service pack is installed for Visual Studio
    • I can no longer test in parallel: "regular" x86 and "extended" x86 with LAA

    It seems a proper long-term solution would have to be implemented by microsoft?:
    http://visualstudio.uservoice.com/forums/196039-microsoft-test-tools/suggestions/5781437

    0 讨论(0)
提交回复
热议问题