laptop and a wrench

Bug

The toolbar crashes the application if it's created twice in the same application.

Last Published: August 25, 2014 ArcGIS Engine
Bug ID Number NIM062330
SubmittedOctober 27, 2010
Last ModifiedJune 5, 2024
Applies toArcGIS Engine
Version found10.0
Program languageC++
Operating SystemWindows OS
Operating System VersionXP
StatusDuplicate

Additional Information

Duplicate of NIM060630. The workaround is to manually initialize GDIplus.

Workaround

The issue is becasue GDIplus is not properly initialized, do so using the following code:Include:Windows.h Gdiplus.hTo initialize:Gdiplus::GdiplusStartupInput gdiplusStartupInput;ULONG_PTR gdiplusToken;Gdiplus::GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);To Uninitialize:Gdiplus::GdiplusShutdown(gdiplusToken);

Steps to Reproduce

Bug ID: NIM062330

Software:

  • ArcGIS Engine

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options