Board index » delphi » Component for accessing the Parallel Port?

Component for accessing the Parallel Port?

Does anyone know of a component that can be used for read and writing the
Parallel port?

thanks
Steve.
--
Stephen Lewis               JTEC, Perth R&D Centre, WA, Australia
sle...@jtec.com.au    tel: +61 9 262 2116     fax: +61 9 321 5216

 

Re:Component for accessing the Parallel Port?


Quote
> Does anyone know of a component that can be used for read and
> writing the Parallel port?

You can access the port trough the Port array, where the index
is the port address.  indata:=Port[adr];  Port[adr]:=outdata;
This works in Delphi 1 and Windows 3.x.

--
Bent Tranberg, Agder College, Grimstad
Grooseveien 36, 4890 Grimstad, Norway
e-mail: Bent.Tranb...@hia.no

Other Threads