Re: Modifying Subsystem in Winelib executables

2009-09-30 Thread Damjan Jovanovic
On Tue, Sep 29, 2009 at 3:01 PM, Greg Geldorp wrote: >> From: Paul Vriens [mailto:paul.vriens.w...@gmail.com] >> >> Can't we just compile shell32 tests as a GUI app? > > I don't think that will work, but I'll look into it. Wine tests expect > to have access to stdout. At the very least you won't s

RE: Modifying Subsystem in Winelib executables

2009-09-29 Thread Greg Geldorp
> From: Paul Vriens [mailto:paul.vriens.w...@gmail.com] > > Can't we just compile shell32 tests as a GUI app? I don't think that will work, but I'll look into it. Wine tests expect to have access to stdout. At the very least you won't see output when running the test manually on Windows. Not sure

Re: Modifying Subsystem in Winelib executables

2009-09-29 Thread Paul Vriens
On 09/29/2009 12:11 PM, Greg Geldorp wrote: To fix one of the tests (shell32:shlexec) I'd like to copy the test executable and change the Subsystem type from IMAGE_SUBSYSTEM_WINDOWS_CUI (console app) to IMAGE_SUBSYSTEM_WINDOWS_GUI (GUI app) in the copy. Piece of cake for PE files, get the IMAGE_D

Re: Modifying Subsystem in Winelib executables

2009-09-29 Thread Alexandre Julliard
Greg Geldorp 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