Delphi调用C#dll的问题
摘要:
转载: 近来,因工作需要,必须解决Delphi7写的主程序调用C#写的dll的问题。在网上一番搜索,又经过种种试验,最终证明有以下两种方法可行: 编写C#dll的方法都一样,首先在vs2005中创建一个“类库”项目TestDll,using System.Runtime.InteropServices; namespace TestDll{ public interface I TestClass { void YourProcedure(stirng param1); } [ClassInterface(ClassInterfaceType.None)] public class Test. 阅读全文
posted @ 2011-08-26 11:50 jasonCao 阅读(557) 评论(0) 推荐(0) 编辑