2012年5月29日
摘要: 参考:http://www.soaspx.com/dotnet/csharp/csharp_20110406_7469.html测试代码:CppDll.csusing System;using System.Runtime.InteropServices;namespace CsharpDemo{ class CppDll { //传入int 型 [DllImport("CsharpInvokeCpp.dll")] public static extern int Add(int x, int y); [DllImport("... 阅读全文
posted @ 2012-05-29 11:36 佐伊凡 阅读(417) 评论(1) 推荐(0) 编辑