I am writing a COM class library and using a separate project to debug the
library. Every time that I attempt to declare a variable WithEvents, I get
this cryptic message in the debug project.
An unhandled exception of type 'System.MethodA ccessException' occurred in
system.windows. forms.dll
Additional information: AsyncBeginEvent Handler..ctor(S ystem.Object, IntPtr)
No code in the debug project ever gets executed.
Thanks in advance.
library. Every time that I attempt to declare a variable WithEvents, I get
this cryptic message in the debug project.
An unhandled exception of type 'System.MethodA ccessException' occurred in
system.windows. forms.dll
Additional information: AsyncBeginEvent Handler..ctor(S ystem.Object, IntPtr)
No code in the debug project ever gets executed.
Thanks in advance.