Posted 19 years ago by Sam Demulling
Avatar
I'm using the actipro docking system within my application and recently it began throwing a GDI+ error on application close which appears to be coming from actipro, but I'm not 100% sure of that yet... Here's the exact exception and a stack trace. Any ideas?

Additional information: Internal error: GDI+ is not properly initialized.

Unhandled Exception: System.Runtime.InteropServices.ExternalException: Internal error: GDI+ is not properly initialized.
at System.Drawing.Graphics.FromHwndInternal(IntPtr hwnd)
at System.Windows.Forms.Control.CreateGraphicsInternal()
at System.Windows.Forms.Control.CreateGraphics()
at ActiproSoftware.WinUICore.UIControl.UpdateLayout()
at ActiproSoftware.WinUICore.UIControl.Invalidate(InvalidationLevels levels, InvalidationTypes types)
at ActiproSoftware.WinUICore.UIControl.OnLayout(LayoutEventArgs e)
at System.Windows.Forms.Control.PerformLayout(Control affectedControl, String affectedProperty)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at ActiproSoftware.UIStudio.Dock.ToolWindowContainer.?(ToolWindow )
at ActiproSoftware.UIStudio.Dock.DockManager.?(TabbedMdiWindow[] )
at ActiproSoftware.UIStudio.Dock.DockManager.?(TabbedMdiWindow[] , Boolean )
at ActiproSoftware.UIStudio.Dock.ToolWindow.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()The program '[2376] WorkEnvironment.exe' has exited with code 0 (0x0)

Comments (4)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
What UIStudio version do you have? We did more work in the newest WinUICore builds to work around this issue.


Actipro Software Support

Posted 19 years ago by Sam Demulling
Avatar
here's my versions for confirmation:

ActiproSoftware.Shared: 1.0.72.0 / runtime v1.0.3705
ActiproSoftware.UIStudio.Dock: 1.0.28.0 / runtime v1.0.3705
ActiproSoftware.UIStudio.NavigationBar: 1.0.28.0 / runtime v1.0.3705
ActiproSoftware.WinUICore: 1.0.72.0 / runtime v1.0.3705
Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
With your annual subscription, I just updated your account to have version 1.5. Please try that out since it has the latest WinUICore as well and let me know if you still see the problem happening.


Actipro Software Support

Posted 19 years ago by Sam Demulling
Avatar
Thanks this seems to have taken care of both posted issues.
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.