I am working with rs232, and i have to write program in visual c++ which reads continous data from rs232.
For that first i need to open available com ports from pc.
I have COM3 in my pc, but i have to write com3 manually in my program.
Is there any way, something like system call in visual c++ MFC, which can detect automatically
com port, and then can open it.