I would like to send data strings to a device connected to my parallel port using MFC 5.0. I have seen a variety of responses as to how to do this... "Use CreateFile()"... "You cannot use CreateFile(), you have to go thru the VxD"... "You can use CreateFile() with Windows 95"... etc. etc. I am only interested in getting this to work under Windows 95. Do I need to go thru a driver, can I use CreateFile()? Is there some way I could use a dedicated thread to read the status of the parallel port to read data from the parallel port when there is data available? Do I need to set the parallel port data buffer to hold a specified number of characters before I get around to reading it?
Basically, I just need a method to read and write data strings to a custom device that is not a printer. Can anyone give me some advice AND OR sample code?
Thanks in advance