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. How to retrieve present system supported baudrates and parity.

How to retrieve present system supported baudrates and parity.

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
3 Posts 3 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.
  • H Offline
    H Offline
    hariakuthota
    wrote on last edited by
    #1

    Hi all, In my VC++ MFC application I want to show the user present system supported Baud rates and Parity in their respective combo boxes. Can anybody suggest me a right approach for doing this? Thanks in advance...

    _ J 2 Replies Last reply
    0
    • H hariakuthota

      Hi all, In my VC++ MFC application I want to show the user present system supported Baud rates and Parity in their respective combo boxes. Can anybody suggest me a right approach for doing this? Thanks in advance...

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      What do you mean by system supported? Read the documentation for SetCommState[^].

      «_Superman_»

      1 Reply Last reply
      0
      • H hariakuthota

        Hi all, In my VC++ MFC application I want to show the user present system supported Baud rates and Parity in their respective combo boxes. Can anybody suggest me a right approach for doing this? Thanks in advance...

        J Offline
        J Offline
        Jonathan Davies
        wrote on last edited by
        #3

        I don't know if MFC wraps the Win32 structure COMMPROP, but this may be what you are looking for. For example you can test: lpCommProp->dwSettableBaud & BAUD_110 to see if the port driver supports that baud rate (or other settings) or not.

        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