摘要:
参考: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("... 阅读全文