Dear all, I need to develop a certain number of serial communication drivers that interact with dedicated hardware. Unfortunately user mode applications under Windows NT do not allow me to handle time intervals with millisecond precision. In addition I cannot manage interrupt service routines during character trasmission and reception. I must develop a kernel-mode driver from scratch unless I find at least one skeleton app to start with.
I recently found some code examples on CodeGuru site related to your problem. The article (including source code in VC++) is named "Microsecond delay" and can be viewed by following the hyperlink below: