https://bugs.winehq.org/show_bug.cgi?id=40935
Bug ID: 40935 Summary: CreateProcess returns empty handler Product: Wine-staging Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: poida.catalin@gmail.com CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
Hope this is the right place to place this bug.
For a simple and fast example, use the one from here: https://msdn.microsoft.com/en-us/library/windows/desktop/ms682512(v=vs.85).a...
Problem: After calling CreateProcess, the PROCESS_INFORMATION is empty with no handlers at all (everything is initialized with 0), GetLastError() is 0, the process is created and executed, but we have no way of knowing when it ends cause there is no handler.
Compiled using vs9 on Win7 prof. Works great. Executed on linux using wine (tried with 1.6 and winehq-staging), runs but the handlers are empty.