views:

83

answers:

0

I have a .Net class that calls a c++ COM object which in turn calls another .Net class in COM. I've found that the two .Net classes are in seperate appdomains (which makes some trouble with log4net). Note they are in the same thread though.

Why is this? Is there a way to ensure they will be in the same appdomain?