摘要:
1. 如果函数只有传入参数,比如:01.//C++中的输出函数 02.int __declspec(dllexport) test(const int N) 03.{ 04.return N+10; 05.} 对应的C#代码为:01.[DllImport("test.dll", EntryPoint = "#1")] 02.public static extern int test(int m); 03. 04.private void button1_Click(object sender, EventArgs e) 05.{ 06.textBox1. 阅读全文
posted @ 2013-05-30 20:22
亲亲柚子
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号