G
Guest
I have a VB.NET Windows application that is getting the following error when it terminates, any ideas
The instruction at “0x275ae936†referenced memory at “0x0e7d1e90â€. The memory could not be “readâ€
Click on OK to terminate the progra
The application consists of a Windows Application and lots of classes. One of these classes is actually a wrapper to a VB6 ActiveX. If I remove the small bit of code that accesses this component then everything is fine but I really do need to use this legacy component. I don’t have time to rewrite it in VB.NET, not yet anyway
If I turn on “When the exception is thrown†“Break into the debugger†option then I get the following error on this line of code
CType(Me.WTPSelection2, System.ComponentModel.ISupportInitialize).EndInit(
A first chance exception of type ‘System.InvalidCastException’ occurred in system.windows.forms.dl
Additional information: No such interface supporte
Sorry the e-mail is quite long but I have tried to include as much information as possible
Any help will be much appreciated
Chris.
The instruction at “0x275ae936†referenced memory at “0x0e7d1e90â€. The memory could not be “readâ€
Click on OK to terminate the progra
The application consists of a Windows Application and lots of classes. One of these classes is actually a wrapper to a VB6 ActiveX. If I remove the small bit of code that accesses this component then everything is fine but I really do need to use this legacy component. I don’t have time to rewrite it in VB.NET, not yet anyway
If I turn on “When the exception is thrown†“Break into the debugger†option then I get the following error on this line of code
CType(Me.WTPSelection2, System.ComponentModel.ISupportInitialize).EndInit(
A first chance exception of type ‘System.InvalidCastException’ occurred in system.windows.forms.dl
Additional information: No such interface supporte
Sorry the e-mail is quite long but I have tried to include as much information as possible
Any help will be much appreciated
Chris.