> I want to write some code to program PICs via PC's parallel port on an > NT machine. > > Is there any SOURCE code for Windows-NT to access parallel port for > read/write ? I'm currently doing almost the same on Windows NT 4.0 You MUST download the Device Driver kit for Windows NT 4.0 and download the platform SDK. Check out www.msdn.microsoft.com In the ddk you will find lot and lot of code samples, even you parallel port you want. Be warned that it's not simple to write a device driver for NT. But if you have written C code before on NT it shouldn't be a real problem. Also you should know that debugging a Ring 0 driver is done by two computer running Window NT connected over a serial line. For some parallel port information check out: http://www.lvr.com/parport.htm Somehwere on the page you find link's to a parallel port device driver ready to use and accesable from within your app. But if you need performance, you should write your own driver. Ries