I use the latest GdViewer std and have strange problems. I have a MDIparent where I open few MDIchildren forms which contain one gdviewer. Image shows fine but when I close these forms in sequence I get different errors, most often CallbackOnCollectedDelegate and my program also quits without any error giving exit code 0xc0000005 (which is an access violation, I think). I can reproduce this error every time but the result varies (Callback.. or exit code 0xc00..).
When I remove GDViewer control and replace it for example with Picturebox and use the same _dataBytes array and loading methods everything works. So this seems to me that it is a problem with the gdviewer control?
I leave every setting to the default except the name. And here are the few lines of code I use with gdviewer:
viewer.CloseImage();
viewer.ZoomMode = GdViewer3.ViewerZoomMode.Zoom100;
viewer.DisplayFromByteArray(ref _dataBytes);
viewer.ZoomMode = GdViewer3.ViewerZoomMode.ZoomWidthControl;
Any ideas what have I done wrong or is this a bug?
