Board index » delphi » Addressing serial or parallel ports

Addressing serial or parallel ports

I'm new to Delphi (I have version 4, Standard edition).   I'd like to
address the serial port of my PC (but if not, the parallel port will
do)......does anyone know if I can do this in Delphi ?   And if so, could
you point me in the right direction ?

many thanks      GarryP (uk)

 

Re:Addressing serial or parallel ports


Mr. Garry
I have a component  for driving the port serial that can serve you. in the
next days i will send you.

I approach  this opportunity, for search too a component for driving the
port parallel or lpt1 of my computer.
I want to access each one of  port's pins.

sarri...@cantv.net

Re:Addressing serial or parallel ports


Sebastian,

Can you send me the component for parallel port. i would like to control
each pin for my stepper motor.

Thank you,
Reid

Quote
Sebastian Arriaga wrote in message <79f84d$nm...@forums.borland.com>...
>Mr. Garry
>I have a component  for driving the port serial that can serve you. in the
>next days i will send you.

>I approach  this opportunity, for search too a component for driving the
>port parallel or lpt1 of my computer.
>I want to access each one of  port's pins.

>sarri...@cantv.net

Re:Addressing serial or parallel ports


You can use WinAPI for that -
Use CreateFile with "COM1" instead of file name.

But the simple way is to use one of 3-rd party Delphi component for that.

One of the most powerfull is AsyncPro.
Async32 component is not so powerfull, but free. :-)
You can find them on alot of Delphi sites and I can send you Async32 if you
want.

Garry T. Paxton <Ga...@gpaxton.demon.co.uk> wrote
<01be50ec$af15d4a0$7f9edec2@ITSGTP>...

Quote
> I'm new to Delphi (I have version 4, Standard edition).   I'd like to
> address the serial port of my PC (but if not, the parallel port will
> do)......does anyone know if I can do this in Delphi ?   And if so, could
> you point me in the right direction ?

> many thanks      GarryP (uk)

Other Threads