//兼容老旧系统的方法。反射之外的选择 object objClsID = Activator.CreateInstance(Type.GetTypeFromCLSID(Guid.Parse("ClsID"))); //ActiveX object objProgID = Activator.CreateInstance(Type.GetTypeFromProgID("ProgID")); //COM object objType = Activator.CreateInstance(Type.GetTypeFromHandle(this.GetType().TypeHandle)); // RuntimeType.New Instance //调用方法 objClsID.GetType().InvokeMember(...); objClsID.GetType().GetMethod("").Invoke(...);