System.Reflection.Assembly ass = System.Reflection.Assembly.LoadFrom(@"D:Programsvs.netInterfaceCominDebugCom.dll");
Type t = ass.GetType("Com.Class1");
string[] implCtorSig = {"System.String"};
Type[] ctorSigArr = Type.GetTypeArray(implCtorSig);
System.Reflection.ConstructorInfo ctorInfo = t.GetConstructor(ctorSigArr);
object[] ctorArgs = {"1"};
object obj = ctorInfo.Invoke(ctorArgs);
Com.IDict idict = (Com.IDict)obj;
Type t = ass.GetType("Com.Class1");
string[] implCtorSig = {"System.String"};
Type[] ctorSigArr = Type.GetTypeArray(implCtorSig);
System.Reflection.ConstructorInfo ctorInfo = t.GetConstructor(ctorSigArr);
object[] ctorArgs = {"1"};
object obj = ctorInfo.Invoke(ctorArgs);
Com.IDict idict = (Com.IDict)obj;
System.Reflection.Assembly ass = System.Reflection.Assembly.LoadFrom(@"D:Programsvs.netInterfaceCominDebugCom.dll");
Type t = ass.GetType("Com.Class1");
object[] ctorArgs = {"1"};
System.Runtime.Remoting.ObjectHandle oh = Activator.CreateInstance(ass.FullName,t.FullName,true,System.Reflection.BindingFlags.CreateInstance,null,ctorArgs,System.Globalization.CultureInfo.CurrentCulture,new Object[]{},null);
Com.IDict dict = (Com.IDict)(oh.Unwrap());
Type t = ass.GetType("Com.Class1");
object[] ctorArgs = {"1"};
System.Runtime.Remoting.ObjectHandle oh = Activator.CreateInstance(ass.FullName,t.FullName,true,System.Reflection.BindingFlags.CreateInstance,null,ctorArgs,System.Globalization.CultureInfo.CurrentCulture,new Object[]{},null);
Com.IDict dict = (Com.IDict)(oh.Unwrap());