Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. serial com port

serial com port

Scheduled Pinned Locked Moved C / C++ / MFC
c++comjsontutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    syed abbdul qavi
    wrote on last edited by
    #1

    i already know how to communicate through th serial port but i am not able to control the CTS, RTS and DTR pins of the Com port.. please tell me how to change the status of these pins in VC++ 6 through API. syed abdul qavi

    C 1 Reply Last reply
    0
    • S syed abbdul qavi

      i already know how to communicate through th serial port but i am not able to control the CTS, RTS and DTR pins of the Com port.. please tell me how to change the status of these pins in VC++ 6 through API. syed abdul qavi

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Take a look at the EscapeCommFunction (for setting/clearing RTS and DTR) and at GetCommModemStatus to get the status of the CTS line.

      S 1 Reply Last reply
      0
      • C Cedric Moonen

        Take a look at the EscapeCommFunction (for setting/clearing RTS and DTR) and at GetCommModemStatus to get the status of the CTS line.

        S Offline
        S Offline
        syed abbdul qavi
        wrote on last edited by
        #3

        i m success to setting RTS and DTR but anable to get status of CTS and DSR i m trying GetCommModemStatus but i m not success to get so plz. tell me how to get status of that pins. thanx Syed Abdul Qavi

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups