Serial Port Code

Discussion in 'C++' started by KP, Aug 13, 2003.

  1. KP

    KP Guest

    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
     
    KP, Aug 13, 2003
    #1
    1. Advertising

  2. KP wrote:
    > 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.


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

    This is where you can go to get the scoop.
    http://msdn.microsoft.com/library/d...en-us/devio/base/communications_resources.asp
     
    Gianni Mariani, Aug 16, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Edwin van den Oetelaar
    Replies:
    0
    Views:
    837
    Edwin van den Oetelaar
    Nov 3, 2006
  2. Pom
    Replies:
    2
    Views:
    1,721
    Bas-i
    Jan 31, 2007
  3. Replies:
    0
    Views:
    366
  4. Max Kotasek
    Replies:
    4
    Views:
    1,006
    Max Kotasek
    Apr 9, 2010
  5. msalerno
    Replies:
    3
    Views:
    422
    Ilmari Karonen
    Jul 14, 2005
Loading...

Share This Page