quote:
From the IODLL documentation
IsDriverInstalled
Returns non-zero if io.dll is installed and functioning. The primary purpose of this function is to ensure that the kernel mode driver for NT/2000/XP has been installed and is accessible.
Also read the additional
LPT documentation listed on that official IODLL page.
Note that it is also pin 2 you need to check for data line 1. And in that same context, I'm not even sure if sending byte value 1 will actually trigger pin 2 (data pin 1) to go high, or even long enough high to notice it. This driver is a general IO driver, not a specific one for parrallel ports. It doesn't contain timings either, you need to program that yourself. Make sure you use the proper functions and the proper values to make data pins go high.
Also, if you have a running and working example in VB6, base the code on that. In other words, make it working in VB6 first (or C or whatever language you're more comfortable with)