views:

397

answers:

3

I need to handle direct I/O to a parallel port in a better way that we are doing it at the moment - presently we use a kernel driver that 'opens up' useable addresses using the I/O protection map. This works ok but is getting more and more left behind. We still wish to continue using a parallel port and there are very satisfactory parallel port card vendors for CardBus ExpressCard etc. I'd like to create a driver that knew about the address assigned to the device by the bus enumerator and allowed me to write to this address from my (Delphi) app. Due to the appernt complexity of this topic I'm struggling with where to start. Has anyone been this route please? Brian

+1  A: 

you might try inoutp32.dll please visit

http://sheepdogguides.com/dt4j.htm

--

Michael

Michael
A: 

You may try the WinIO library on www.internals.com

Malkocoglu
A: 

Thanks both. Inoutp32.dll and WinIO are adequate but have no possibilitiy of getting the port address - you need to find this out (gwiopm.sys that we use now has this limitation, too). I was looking for something a little more intelligent that might get involved with PCI bus enumeration perhaps so that I could show to the user the I/O possibilities that we available (eg if there were 2 parallel ports).

Brian Frost