r norman posted:
[color=blue]
> On Sun, 27 Jun 2004 18:15:01 -0700, "Ste"
><news@homecomptr.freeserve.co.uk> wrote:
>[color=green]
>>I work with serial ports all day. I know all about them from an
>>outsiders point of view, but I'd like to know all about them from a
>>programmers point of view. I'd like to make my own very 'very' simple
>>terminal program using C++ to access the serial ports on a pci card.
>>Eventually I want to send data out and receive it back in but for now I
>>want to get to grips with what it takes to open the port(s) and close
>>them.
>>
>>Can anyone point me in the right direction of some useful material I
>>can read?
>>
>>Ste[/color]
>
>
> The language sites you posted to are dedicated to the standard C++
> language, which knows nothing about hardware or operating system
> specific details. You really must ask about this on a forum dedicated
> to you operating system and hardware platform. On your way, you might
> try
>
http://www.lvr.com/serport.htm
>
>[/color]
For Windows, take a look at:
OpenFileEx
DeviceIoControl
-JKop