/* To support calling .NET component from C++ COM client do the following: 1. in project directory, make keypair file: sn -k CSharpLibKey.snk 2. Edit the AssemblyInfo.cs file in the project directory to add CSharpLibraryKey.snk in the AssemblyKeyFile attribute at the bottom. 3. in bin\debug directory use gacutil to put assemly in Global Assembly Cache (GAC): gacutil -i CSharpLib.dll You will have to do this everytime you rebuild because strongly named assemblies are versioned and so you have to put the new version in the GAC or CoCreateInstance fails. */