看板 C_Sharp 關於我們 聯絡資訊
※ 引述《colorsea (OH Yes! Babe~)》之銘言: : ※ 引述《leicheong (睡魔)》之銘言: : : 先看一看 %windir%\system32\winmm.dll 在不在吧... 啊, 不好意思. winmm.dll不是COM+ library不可以這樣做的... 你需要用那些function? 我可以幫你把方法給做出來... 像是PlaySound的話: [DllImport("winmm.dll", CharSet = CharSet.Unicode, SetLastError=true)] public static extern bool PlaySound (string lpszName, System.IntPtr hModule, int dwFlags); -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.73.76.102 ※ 編輯: leicheong 來自: 219.73.76.102 (09/26 00:00) ※ 編輯: leicheong 來自: 219.73.76.102 (09/26 00:01)