Home | About us | Overview | Software - Download | Evaluate | Order | Support | Contact | F.A.Q. | Documentations | Blog | Newsletter
Loading...

CallbackOnCollectedDelegate problem with C# VS2005

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

CallbackOnCollectedDelegate problem with C# VS2005

Postby zyg » Sun Oct 28, 2007 10:41 pm

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?
zyg
 
Posts: 4
Joined: Sun Oct 28, 2007 10:15 pm

Postby Loïc » Mon Oct 29, 2007 9:37 am

Hi,

Does this error occurs only in debug mode or within compiled application ?


Is it possible for you to send me by mail (esupport (at) gdpicture (dot) com) your visual studio project or another sample wich raise this behaviour because I was unable to reproduce this error.

Regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4230
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Postby zyg » Wed Oct 31, 2007 4:52 pm

Sample project sent and apparently this is some issue that will be fixed in the next release of gdviewer.

Thanks for the help.
zyg
 
Posts: 4
Joined: Sun Oct 28, 2007 10:15 pm

Postby Loïc » Fri Nov 02, 2007 5:39 pm

Hi,

The last edition are available an this bug has been fixed.

You can upload your component from the download area: http://www.gdpicture.com/download.php

Regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4230
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest