I'm running PowerBasic for DOS on a Windows XP computer. I'd like to control the parallel port directly. I have already installed the Porttalk driver, but need to start each of my programs by using the allowio.exe file so that my program will use the Porttalk driver.
I would like to use IOCTL in my program to access the Porttalk driver directly, but don't know how to set this up in PowerBasic. From everything I've read on the web, I understand that I need to use the Open command to define the driver, then use IOCTL to send the parameters to it.
What is the syntax for this?
I would like to use IOCTL in my program to access the Porttalk driver directly, but don't know how to set this up in PowerBasic. From everything I've read on the web, I understand that I need to use the Open command to define the driver, then use IOCTL to send the parameters to it.
What is the syntax for this?
Comment