G
Guest
hi. guys,
I have two AppDomains, AppDomain0 and AppDomain1. In AppDomain1, I got a
class implements an interface IInterface0. In AppDomain0, I also define a
IInterface0, the code of two interfaces are exactly same.
When I call:
appDomain.CreateInstanceFromAndUnwrap and try to convert to
AppDomain0.IInterface0. I got an error.
I was wondering why? Their codes are exactly same. Is there any way that I
can do such cast?
I hope I explain this problem clearly.
thanks, guys
I have two AppDomains, AppDomain0 and AppDomain1. In AppDomain1, I got a
class implements an interface IInterface0. In AppDomain0, I also define a
IInterface0, the code of two interfaces are exactly same.
When I call:
appDomain.CreateInstanceFromAndUnwrap and try to convert to
AppDomain0.IInterface0. I got an error.
I was wondering why? Their codes are exactly same. Is there any way that I
can do such cast?
I hope I explain this problem clearly.
thanks, guys