DllImport 作为一种属性提供第二种方法调用不带类型库的 DLL 中的函数。DllImport 大致与使用 Declare 语句等效,但对如何调用函数提供更多的控制。
标签: DllImport
上传时间: 2016-06-08
上传用户:opklnm999
这是专门为 C# 开发者定制的 ZC030X 编程接口。C# 开发者可以如下方式进行调用: 首先需要进行声明: ... using System.Runtime.InteropServices public class win32{ [DllImport("zc030xlib.dll", EntryPoint = "capInitCamera")] public static extern int capInitCamera() }
标签: InteropServices Runtime System using
上传时间: 2016-11-28
上传用户:love_stanford