RhinoCommon - rhcommon_c.dll error on Windows 10

If you are trying to execute RhinoCommon functionality from inside the Revit process, you are going to need to use Rhino3dmIo instead of RhinoCommon. RhinoCommon is solely designed to run inside of the Rhino process.