C
Charles Wang
I can not create handle of parallel port while using createfile("LPT1:").
The handle always return -1.
Does CreateFile could open parallel port? I notice PB's help mentions that
CreateFile could creates, opens, or truncates a file, COM port, device,
service, or console. My puzzle is that the device include parallel port?
I can operate COM1 or COM2 in the same way. The LPT1, COM1 and COM2 are all
contained in my device's registry. And I think my hardware has no problem.
Thanks for your help!
Charles Wang
The handle always return -1.
Does CreateFile could open parallel port? I notice PB's help mentions that
CreateFile could creates, opens, or truncates a file, COM port, device,
service, or console. My puzzle is that the device include parallel port?
I can operate COM1 or COM2 in the same way. The LPT1, COM1 and COM2 are all
contained in my device's registry. And I think my hardware has no problem.
Thanks for your help!
Charles Wang