At version 10, COM-based applications using ArcGIS Engine Controls may abort with an unhandled exception error message dialog box displaying similar to the following message:
"Unhandled exception as 0x7x91b21a (ntdll.dll) in
violation writing location 0x00000010."
This crash may be caused by an ArcGIS component making use of GDI+ before GDI+ has been properly initialized. This problem is being investigated further by Esri. In the meantime, use one of the workarounds provided.
Gdiplus::GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
Get help from ArcGIS experts
Download the Esri Support App