iT邦幫忙

0

C# sevice攔截系統訊息

想請大家解惑,最近要寫一隻監聽剪貼簿的程式,參考程式碼如網址:https://gist.github.com/glombard/7986317
但這範例是WinForm我想改寫成service,但是在這WndProc(ref Message m),m的資料一直都是WM_NULL,沒辦法像WinForm能傳送系統訊息

YoChen iT邦研究生 1 級 ‧ 2019-10-02 17:32:41 檢舉
請附上相關的程式碼,然後針對您的程式碼重新描述一下問題~
fillano iT邦超人 1 級 ‧ 2019-10-03 10:19:39 檢舉
https://social.msdn.microsoft.com/Forums/en-US/0417de9f-50b9-4d2b-a3df-6531d0af5a82/how-to-capture-system-events-using-c-windows-service?forum=csharplanguage 可能的原因
eerr0123 iT邦新手 5 級 ‧ 2019-10-04 09:03:02 檢舉
感謝回覆,我這邊以WinForm方式作呈現
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答