Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sonja Keserovic recently got her great C++ sample posted on transitioning AppDomains from native C++… This should be helpful for anyone dealing with these tricky issues.
Transitioning AppDomains from native code using delegates
When transitioning from native to managed code using C++, you'll transition into AppDomain where your thread was the last time (or default AppDomain if thread was never in managed code). If you need to pick AppDomain yourself you can use delegates to perform this transition.