[問題] DDLImoprt(找不到型別?)

看板C_Sharp (C#)作者 (哎躱哎躱)時間18年前 (2008/06/11 20:16), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
在這的網址發現幾個有趣的程式想要嘗試 http://www.pcdiy.com.tw/runpc/download/200407/126P199.txt 程式抓下來後被二行卡住了 [StructLayout(LayoutKind.Sequential)] [DllImport("user32.dll", SetLastError = true)] 出現的錯誤訊息是找不到型別:Q google了一下還是找不到答案 請各位大大指點一下 我的環境是 VS C# 2005 express 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.70.71.30 ※ 編輯: idleidle 來自: 203.70.71.30 (06/11 20:17)

06/11 20:21, , 1F
找到了Xd..using System.Runtime.InteropServices;
06/11 20:21, 1F
文章代碼(AID): #18Jy8e6O (C_Sharp)
文章代碼(AID): #18Jy8e6O (C_Sharp)