Bob Bouthillier
Sep 21st, 2000, 12:31 PM
Hello,
I am writing a program for a Win98 target that needs to use the parallel port as an interrupt driven bi-directional device.
What I know is how to initialize the port using CreateFile, how to use ReadFile to read a stream of data and how to close the port.
If I want to write an Interrupt service routine to do "handshaking" of each byte, how do I get Win32 to notify me that an interrupt has occured?
Question: Specifically, what triggers a Win32 notification that data has arrived at the parallel port?
Any help is appreciated.
Bob
I am writing a program for a Win98 target that needs to use the parallel port as an interrupt driven bi-directional device.
What I know is how to initialize the port using CreateFile, how to use ReadFile to read a stream of data and how to close the port.
If I want to write an Interrupt service routine to do "handshaking" of each byte, how do I get Win32 to notify me that an interrupt has occured?
Question: Specifically, what triggers a Win32 notification that data has arrived at the parallel port?
Any help is appreciated.
Bob