born2program
Technical User
When I close the main form in my application I get the following message and I don't know why I get this:
Code:
"An unhandled exception of type 'System.InvalidCastException'occurred in system.windows.form.dll. Additional Information: QueryInterface for interface IConnectionPoint failed."
and this is my call stack
Code:
system.windows.forms.dll!System.Windows.Forms.AxHost.ConnectionPointCookie.Disconnect() + 0x25 bytes
system.windows.forms.dll!System.Windows.Forms.AxHost.ConnectionPointCookie.Finalize() + 0x1c bytes
any help would be greatly appreciated. Thanks in advance.