Serial Port Code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • KP

    Serial Port Code

    I am trying to send a string over serial RS-232 to another computer and
    wanted to use VC++. Is there some sample code/template I could follow ?

    It is not very complicated... just somethign that opens the port and writes
    into it.... and closes the port.

    Thanks
    -k


  • Gianni Mariani

    #2
    Re: Serial Port Code

    KP wrote:[color=blue]
    > I am trying to send a string over serial RS-232 to another computer and
    > wanted to use VC++. Is there some sample code/template I could follow ?
    >
    > It is not very complicated... just somethign that opens the port and writes
    > into it.... and closes the port.[/color]

    This news group deals with "Standard C++". The standard describes
    nothing about serial communications.

    This is where you can go to get the scoop.


    Comment

    Working...