.NET Framework 4 Hosting Interfaces
This section describes interfaces that unmanaged hosts can use to integrate the common language runtime (CLR) in the .NET Framework version 4 and later into their applications. These interfaces provide methods for a host to configure and load the runtime into a process.
All .NET Framework 4 hosting interfaces have the following characteristics:
They use lifetime management (AddRef and Release), encapsulation (implicit context) and QueryInterface from COM.
There do not use COM types such as BSTR, SAFEARRAY, or VARIANT.
There are no apartment models, aggregation, or registry activation that use the CoCreateInstance function.
Additional Information
Please see http://msdn.microsoft.com/en-us/library/dd233120(VS.100).aspx for a description of the differences between the .NET 2.0/3.0/3.5 hosting interfaces and the .NET 4.0 hosting interfaces.
The CLR Runtime Activation Team page on Codeplex contains both native and managed projects to help developers migrating to the .NET 4.0 runtime activation interfaces (http://clractivation.codeplex.com), and the CLR Team blog has a post with greater detail and guidance (http://blogs.msdn.com/b/clrteam/archive/2010/06/23/in-proc-sxs-and-migration-quick-start.aspx).
The CLR Runtime Activation Team page on Codeplex contains both native and managed projects to help developers migrating to the .NET 4.0 runtime activation interfaces (http://clractivation.codeplex.com), and the CLR Team blog has a post with greater detail and guidance (http://blogs.msdn.com/b/clrteam/archive/2010/06/23/in-proc-sxs-and-migration-quick-start.aspx).
- 7/6/2010
- Simon Hall [MSFT]
- 7/6/2010
- Simon Hall [MSFT]