Greg Geldorp <[email protected]> writes: > My limited understanding of the structure of Winelib executables makes doing > the same for testing on Wine quite a bit harder. I assume there's still a > IMAGE_NT_HEADERS structure in there somewhere and with some research I'll > probably be able to locate it in Linux ELF Winelib executables. What I'm > wondering about is how big the can of worms I'm trying to open is? Is the > encapsulation of PE headers in "native" executables the same for all OSes > supported by Wine? Is changing a PE header field in (a copy of) a Winelib > executable doomed to fail or is it a walk in the park?
It's doomed to fail, don't try that. If you need a specific format PE file generate one from scratch, don't try to modify an existing one. -- Alexandre Julliard [email protected]
