GetExitCodeProcess always returns 1

Dmitry Timoshkov dmitry at
Thu May 5 04:29:25 CDT 2005

Hi Igor, sorry for the late response.

"Igor Sysoev" <is at> wrote:

> 2 years ago I reported that on FreeBSD Wine-20030508's GetExitCodeProcess()
> always returns 1:
> It was fixed by patch:
> and I used the patched Wine-20030508 all the time to run MSVC,
> OpenWatcom C, and Borland C in a command line.
> However, when I try to run dmc.exe, sc.exe, or make.exe from
> Digital Mars C/C++ Compiler, I always see the message:
> wine: Unhandled exception (thread 0009), starting debugger...
> I build Wine-20050310, but it has the same two problems:
> 1) GetExitCodeProcess() always returns 1 on FreeBSD 5.3,

Could you confirm that dlls/kernel/tests/process.c,test_ExitCode() test
fails under FreeBSD? If yes, and the patch above actually fixes the problem,
just submit the patch (relative to current CVS) to wine-patches.


More information about the wine-devel mailing list