The device gets stuck when running "Surprise Removal" test with "Run Tests with I/O" option selected in a NDIS 6.2 WWAN driver for DTM.

·         When Run Tests with I/O option is disabled, the test passes. ·         This issue can be specific to a Win 7 NDIS 6.2 WWAN driver only. ·         Compiling the same driver as NDIS 6.0 or NDIS 5.1 does not reproduce the issue. ·         We may not see any pending IRPs or reference in the…


Usage of NativeWindow.AssignHandle/ReleaseHandle when unmanaged code is involved.

If an application is Subclassing from managed and unmanaged code, it should not use the NativeWindow.AssignHandle/ReleaseHandle to subclass/unsubclass due to following reasons,   In a managed application, if we call NativeWindow.AssignHandle to subclass, while that Winproc is still in the subclass chain and some native component calls SetWindowLong or SetWindowSubclass, and then when we call…


WPF based application experiences different memory leaks.

If you have a WPF based application which leaks memory with following symptoms, the fix is available now. This fix as on 31/ 3/ 2010 is the latest. This is fixing for about 5 different unrelated and extremely rare intermittent memory leaks in WPF. I will release the KB soon. I filled fix only for.net…


Some Multi-threaded terminal server applications crashes in Win 2008 R2

In Win2008 R2 some Multi-threaded terminal server application may crashes with access violation in the test  eax, eax cpu instruction with following symptoms. This issue is very intermittent. 1.          2.       You may find following 2 threads, Executing a test instruction and causing AV. Trying to change the protection of exactly same code memory page…


C# .net application doing serial communication bug-check Window 2003.

Ø  An application which is doing intensive serial communication may bug-check( blue Screen) a Windows 2003 Server even with latest update until this date 29 – March – 2010. Ø  This is potentially a issue in the speed.sys but yet have to confirm. Ø  As far as I know this issue is extremely rare only…


Compile a Kernel mode driver in Visual Studio with full intellisense

To compile a Kernel mode driver in VS 2005 or similar Visual Studio versions with intellisense, following steps can be useful. I thought this is a ‘well known stuff’ but I was asked recently by some of my customers a couple of times, so thought of documenting the same although obviously not supported.   Nothing…