Harold
7/26/2004 10:25:00 PM
My app is using:
Dim obj As System.runtime.Remoting.ObjectHandle =
System.Activator.CreateInstanceFrom()
oApp = CType(obj.Unwrap, someObject)
To create an object in a different assembly. This works great. However, I
would like my app to handle any unhandled exceptions generated in oApp. I
have added handlers for Application.ThreadException and
AppDomain.CurrentDomain.UnhandledException for my app, but these do not get
called when the error is raised.
Can someone help me understand the concept of handling exceptions from
objects created this way? Is the object considered to be in the same
AppDomain? On the same Thread?
Thanks,
Harold