摘要:
COM 操作:编写C#dll的方法都一样,首先在vs2005中创建一个“类库”项目TestDll,usingSystem.Runtime.InteropServices;namespaceTestDll{publicinterfaceITestClass { voidYourProcedure(string param1); }[ClassInterface(ClassInterfaceType.None)] publicclassTestClass:ITestClass{publicvoidYourProcedure(string param1){ //自己的代码 } }}完成... 阅读全文