我想即使讀者看過微軟的關於驅動開發的培訓教材和CE協助文檔中的驅動部分,頭腦中仍然一片茫然。要想真正瞭解驅動程式必須結合一些驅動程式源碼,在此我以串口驅動程式(COM16550)中初始化過程為線索簡單講一講驅動開發的基礎知識。 Windows CE下的串口驅動程式能夠處理所有I/O行為類似串口的裝置,包括基於16450、16550
Send Custom event to Host (Windows Form) from a WPF Control - Part 2 In the previous articles we have seen how to host a WPF control into the Windows Form and send thestandard events to Windows form from WPF control. In this article we would see how
搞了十幾年的Windows開發,今天才發現這幾個概念一直沒有徹底的弄明白,今天終於仔細理了理Active Window,字面意思就是使用中視窗,其實就是Windows上面標題列高亮的那個視窗。關鍵就在標題列高亮。使用中視窗必須是頂層視窗。Focused Window,就是擁有鍵盤輸入的視窗。可以是使用中視窗裡面的一個控制項Foreground Window,一般就是使用中視窗。但有例外,當一個視窗處於ALWAYS ON TOP時,使用中視窗可能是別的,但Always on
Linux檔案系統格式一般是Ext3,現在Ext4也出來了。如何在Windows上讀寫這些分區呢?推薦以下幾款軟體:1. ext2Fsd (http://www.ext2fsd.com/)可以讀寫Ext2/Ext3檔案系統,不支援Ext4檔案系統和LVM。在Windows7下,安裝檔案Ext2Fsd-0.51.exe需要設定為管理員運行和相容WindowsXP SP3模式。Ext2Fsd is an ext2 file system driver for Windows (2k, XP,
Host a WPF control into Win32 Windows Form This article would explain how to host a WPF control into the Windows Form. I would create the WPF Control, and a Windows form application, which would host the WPF control. In the next article we would see