Troy Rollo wine@troy.rollo.name writes:
This will work if (and only if) the value of SizeOfImage is unimportant for Winelib executables. Of course in that case there is probably some merit in setting it to zero anyway since at least that would make it obvious that it has no meaningful value if somebody reads it later.
Some apps do read it. It doesn't have to be exact, but it has to make sense (like being beyond the last section, things like that), so setting it to zero won't work.