http://bugs.winehq.org/show_bug.cgi?id=25985
Summary: AmiBroker crashes when using colour palette Product: Wine Version: 1.0.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: softcont@optusnet.com.au
Created an attachment (id=33123) --> (http://bugs.winehq.org/attachment.cgi?id=33123) Output from "C:>" prompt and from AmiBroker itself for wine 1.0.1 & 1.3.12 under Debian AMD64 "squeeze"
There is more than one way to make it crash. The easiest is: 1. Download AmiBroker (v5.30 right now) from: http://amibroker.com/download.html (for v 5.30 it is: http://www.amibroker.com/bin/AmiBroker530.exe) to ".wine/drive_c". Copy 2 dll's: mfc42.dll & msvcp60.dll to ".wine/drive_c/windows/system32". Run "wine cmd" 2. From the "C:>" prompt install AmiBroker in the default location (C:\Program Files\AmiBroker) by executing AmiBroker530.exe 3. Change directory to C:\Program Files\AmiBroker 4. Run AmiBroker (type broker and press <enter> at the prompt) - it should show a chart for "^DJI(Daily)" 5. Click with the right mouse button on the chart pane (there are 3 chart panes - I clicked on the top one) and from the popup context menu that appears select item "Parameters" 6. A "Properties of Price" dialog box appears (the title may vary depending on which panel the right mouse click occurs) 7. Click on any "Color" item (i.e. with the label "Color") 8. A simple color palette popup window appears 9. Click on the "More" button of the simple color palette - a more detailed color dialog box appears 10. Click on the "Cancel" button of the detailed color dialog box The program crashes (the whole application needs eventually be killed from Linux)
Another way to crash it is (after step 7 - i.e. without pressing its "More" button) click on the (parent) "Properties of Price" dialog box - the simple color palette does not close (it does under native Windows). Then one by one close all the AmiBroker windows (notice that the simple color palette stays open). This should eventually crash the application (pressing <Esc> button also does the trick).
I also tested it under 1.3.12 environment (files attached) with the same result. However, I felt a bit lost when compiling and installing the wine environment. I have two systems: Debian amd64 (squeeze) and Debian 32-bit (lenny). The crash occurs on both of them.