Host the CLR in C++

Calvin Hsia’s blog post provides a pretty neat example of hosting the CLR in C++, which then calls a VB.NET object that emits a new type into the runtime, then invokes its Main method — which includes dynamically generated code passed in as a parameter from C++.
Obviously, this is not the recommended method to show a message box. :-)

But it does give an interesting example of different ways to interop between managed and unmanaged code.

Thanks for the cool example Calvin!