asp.net调用c++写的dll或ocx 方法
摘要:
一、调用格式 using System.Runtime.InteropServices; //引用此名称空间,简化后面的代码 ... //使用DllImportAttribute特性来引入api函数,注意声明的是空方法,即方法体为空。 [DllImport("user32.dll")] public static extern ReturnType FunctionName(type a... 阅读全文
posted @ 2010-05-21 17:24 zxforben 阅读(2453) 评论(0) 推荐(0)
浙公网安备 33010602011771号