http://bugs.winehq.org/show_bug.cgi?id=46254 --- Comment #19 from Maotong Zhang <zmtong1988(a)gmail.com> --- (In reply to Janne from comment #18)
(In reply to Maotong Zhang from comment #15)
(In reply to Maotong Zhang from comment #9)
(In reply to Janne from comment #7)
Created attachment 79055 [details] console logs of tests
Applied both patches from bug-46255. Build 32 and 64bit versions of Wine. Build 32 and 64 bit version of the application.
64bit version of the application seems to behave same way on Wine & Windows. 32bit version has differeneses on output. Also application crashes, but that might me my build of the Wine causing this.
I attached terminal/console logs.
I compiled it this way into test program. 32bit: i686-w64-mingw32-gcc -Wall -g3 enumresource.c -static -lkernel32 -o enumresource_32.exe
64bit: x86_64-w64-mingw32-gcc -Wall -g3 enumresource.c -static -lkernel32 -o enumresource.exe
I compiled the test program using MinGW under Linux. You can give it a try.
I tested compiling test application in Wine.
Command used: x86_64-w64-mingw32-gcc -Wall -g3 enumresource.c -static -lkernel32 -o enumresource_wine.exe
This application do not crash.
So for some reason the application that is compiled on Windows causes the crash.
Thanks, I will take another look to see what's different. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.