How do I go about instantiating a COM Object in C# by CLSID?
问题 Forgive me if my terminology is off, as this is somewhat uncharted territory for me. I have a program which needs to create a FolderShortcut . Microsoft has documentation on how to create it in C++, and I'm trying to translate the directions to C#. The instructions state that the CoCreateInstance function needs to be called with CLSID_FolderShortcut as a parameter, which I infer to mean that it's instantiating a COM object. The CLSID for this object is {0AFACED1-E828-11D1-9187-B532F1E9575D} .