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?
CallbackOnCollectedDelegate problem with C# VS2005
Hi,
The last edition are available an this bug has been fixed.
You can upload your component from the download area: https://www.gdpicture.com/download.php
Regards,
Loïc
The last edition are available an this bug has been fixed.
You can upload your component from the download area: https://www.gdpicture.com/download.php
Regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest