> Hi people,
>
> i am developing a program to communicate with an external hardware
> system
> using the parallel port (windows 95 and windows NT), and i don´t know
> how
> to do it. The protocol is very simple, i just want to read data as
> quick as
> possible and send comfirmation of my reads to the port.
> How can i do it ?
> Can i use: createfile(LPT1,...; readfile,...? or is it only possible
> to use
> this with serial ports?
> Is there any API function to do this ?
> what about an own vxd ? what kind of vxd ? how to develop it ?
> How can obtain information about the LPT1 port (direction of the
> registers,
> IRQ, etc) withing the program ?
> ...
>
> i would appreciate any kind of help ?
>
> thanks in advance
>
> Ruben
If all you want is simple i/o, there is a free IO.DLL at
http://www.okanagan.net/users/fred/
It works fine with VC++5
Cheers Mike