How to retrieve present system supported baudrates and parity.
-
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...
-
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...
What do you mean by system supported? Read the documentation for SetCommState[^].
«_Superman_»
-
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...
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.