General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Detecting number and location of paralle
I have successfully used a pointer to the BIOS to detect and communicate over the parallel ports in a DOS based application that runs on both Windows 95/98 or Windows NT. The problem is that this code does not work in a Window based application.
I noticed that Win32 SDK has the command
void GetParallelPortsList(LPSTR szSymbol);
GetParallelPortsList sets the specified symbol to a list of all parallel ports (that is, "LPT1","LPT2",_).
Argument
szSymbol
Specifies the name of the symbol to associate with the list.
But it doesn't give very much information on how to use this command and even after getting a list of ports, I still do not know what other command is required to open that port.
Any ideas on how to proceed are appriciated.