[Bug 60124] New: 16-bit Windows NE executable executes twice
http://bugs.winehq.org/show_bug.cgi?id=60124 Bug ID: 60124 Summary: 16-bit Windows NE executable executes twice Product: Wine Version: 11.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user16 Assignee: wine-bugs@list.winehq.org Reporter: madebr@gmail.com Target Milestone: --- Distribution: --- Created attachment 81687 --> http://bugs.winehq.org/attachment.cgi?id=81687 Minimum Visual C++ 1.52 project When running a simple 16-bit Windows executable, it apparently runs twice. The attached project was built with Visual C++ 1.52c (from winworldpc.com). It should show 2 dialog boxes and quit: Dialog 1 -> Dialog 2 -> exit) Instead, the dialogs are shown twice: Dialog 1 -> Dialog 2 -> Dialog 1 -> Dialog 2 -> exit The attached build script needs a few environment variables to work: set PATH_MSVC152C_CDROM=\run\media\maarten\MSVC152C set PATH=%PATH_MSVC152C_CDROM%\msvc15\bin;%PATH% set INCLUDE=%PATH_MSVC152C_CDROM%\msvc15\include set LIB=%PATH_MSVC152C_CDROM%\msvc15\lib -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60124 --- Comment #1 from Maarten <madebr@gmail.com> --- This was a bug in the source. After building with `/DSTRICT`, it warned me about a wrong WinMain. Instead of int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, char *lpCmdLine, int nCmdShow) it must be int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60124 Maarten <madebr@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #2 from Maarten <madebr@gmail.com> --- Marking as RESOLVED -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60124 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Ken Sharp <imwellcushtymelike@gmail.com> --- Closing. -- 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.
participants (1)
-
WineHQ Bugzilla