C++ and serial/com port

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Naforce
    New Member
    • Nov 2007
    • 2

    C++ and serial/com port

    Hello everybody!
    Me and some friends are going to try and make a program in C++ to read and write signals to the com port.
    How do I code that?
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    Originally posted by Naforce
    Hello everybody!
    Me and some friends are going to try and make a program in C++ to read and write signals to the com port.
    How do I code that?
    Very carefully .

    Comment

    • Cucumber
      New Member
      • Sep 2007
      • 90

      #3
      Originally posted by Naforce
      Hello everybody!
      Me and some friends are going to try and make a program in C++ to read and write signals to the com port.
      How do I code that?
      Use CreateFile()
      and use "\\.\\COM1: " as the file name

      I googled it :P

      Comment

      Working...