http://bugs.winehq.org/show_bug.cgi?id=22605
Summary: SafeNativeMethods.SelectObject Exception Product: Wine Version: 1.1.43 Platform: x86 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dorian.grey@mail.com
I am trying to run the Open R-Community Tools (http://rcommunity.nazgulworld.com/index.php?page=dl). I did the following modifications: - used Wine 1.1.43 - Patched it according to Bug #16418 Comment #32 suggested -> helped over the first problem - installed the Winetricks MS gidplus.dll and ddr=gdi hacks (Note: there is an error in 1.1.43 with Wineticks - it points to a hard coded configuration file)
Then I got the following error (log attached)
at System.Windows.Forms.SafeNativeMethods.SelectObject(HandleRef hDC, HandleRef hObject) at System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions() at System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions() at System.Windows.Forms.ContainerControl.get_AutoScaleFactor() at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds) at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout() at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout) at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout) at OpenRCLib.usrBanner.InitializeComponent() at OpenRCLib.usrBanner..ctor() at OpenRCLib.frmManager.InitializeComponent() at OpenRCLib.frmManager..ctor() at OpenRCTools.My.MyApplication.OnCreateMainForm() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) at OpenRCTools.My.MyApplication.Main(String[] Args)