https://bugs.winehq.org/show_bug.cgi?id=40935
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- The example is working fine here (compiled with i686-w64-mingw32-gcc). I tested with Wine 1.9.13, but I would expect the same result with 1.6. Wine also uses CreateProcess internally and such a critical error would render basically all applications useless.
Are you by any chance passing a Linux path to CreateProcess? This would explain the problem because it is not fully supported (yet). Otherwise, please provide more details how exactly to reproduce this issue, and which fields are not set as expected.