https://bugs.winehq.org/show_bug.cgi?id=41509
Bug ID: 41509 Summary: Trouble synchronizing with winelib applications invoked with CreateProcess Product: Wine Version: 1.9.20 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: javier--fqu3sqxsVIm7PkQvPySPMwTV4r0Nxk@jasp.net Distribution: ---
There are issues when starting an application compiled with winegcc. Get an invoker that calls CreateProcess (example: https://bugs.winehq.org/attachment.cgi?id=20876) and compile a "Hello, world!" with winegcc as the invoked program.
The process handle returned by CreateProcess is invalid because of bug #18335. If compiled as a fake module (set output to hello.exe.fake, then rename to hello.exe) to get a PE, CreateProcess works, but direct invocation with wine (wine hello.exe) fails because hello.exe.so is not searched in the current folder, only in the system folder.