C#與非託管DLL進行交互

C#與非託管DLL進行交互 PInvoke介紹 PInvoke是.Net Framework提供的一項服務,它使得託管代碼與非託管之間的交互變得很是簡單,通常來講,只須要聲名一個方法並指定System.Runtime.InteropServicesDllImportAttribute屬性,就能夠調用非託管方法。先看一個最簡單的例子: web using System.Runtime.Interop
相關文章
相關標籤/搜索