摘要: COM 操作:编写C#dll的方法都一样,首先在vs2005中创建一个“类库”项目TestDll,usingSystem.Runtime.InteropServices;namespaceTestDll{publicinterfaceITestClass { voidYourProcedure(string param1); }[ClassInterface(ClassInterfaceType.None)] publicclassTestClass:ITestClass{publicvoidYourProcedure(string param1){ //自己的代码 } }}完成... 阅读全文
posted @ 2013-09-27 10:05 live in finally 阅读(1533) 评论(0) 推荐(0) 编辑