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
蟲蟲下載站版權所有 京ICP備2021023401號-1