Loading...

C#, getting CallbackOnCollectedDelegate error

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

C#, getting CallbackOnCollectedDelegate error

Postby krebsgshannon » Thu May 31, 2007 9:42 pm

Hello,

Here is the problem I am getting:

Using C# 2005
.Net Framework 2.0

I have an MDI parent form that open a child form that has the axgdViewer object set to fill said form. Whenever I call the dispose() method whether automatically when the form closes or whenever I call axgdViewer1.Dispose(); I get:

A callback was made on a garbage collected delegate of type 'System.Windows.Forms!System.Windows.Forms.NativeMethods+WndProc::Invoke'. This may cause application crashes, corruption and data loss.


How do I clear the state of the object so I can cleanly perform disposal of the form and the control?

Thanks!

If you need a copy of the source that is doing this I can provide that. There's nothing currently on it that is priviledged or internal information or anything that can be construed as intellectual property proprietary to my company.
krebsgshannon
 
Posts: 11
Joined: Thu May 31, 2007 9:36 pm

Postby krebsgshannon » Thu May 31, 2007 10:12 pm

D'oh!

I installed the new version, dated today, and all is well :) :shock: :D

Thanks for fixing the problem!
krebsgshannon
 
Posts: 11
Joined: Thu May 31, 2007 9:36 pm

Postby Loïc » Thu May 31, 2007 10:14 pm

:D

Yes it was a known problem.

It is solved since the 3.5 edition.

Regards,

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


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron