Brendan McGrath brendan@redmandi.com writes:
wine64 was using IMAGE_NT_HEADERS to access header information regardless of the execution type; hence it would use IMAGE_OPTIONAL_HEADER64 for a 32bit app.
wine64 should not be used for a 32-bit binary, it should exec the 32-bit loader instead. Do you have a sample app to reproduce this?