http://bugs.winehq.org/show_bug.cgi?id=31507
--- Comment #4 from George Yohng georgewi@oss3d.com 2012-08-19 14:50:46 CDT --- Created attachment 41426 --> http://bugs.winehq.org/attachment.cgi?id=41426 Illustration of the problem with the part of the source code
Another attachment added. Here is a screenshot of the error log. I added a printf into the source code to verify the problem.
Needless to say, the same executable works on Windows without problems, it also works flawlessly when its counterpart is compiled for x86-32 and run under Wine.