usb to serial using wmi

Hello, I am new to these forums, I thought it would be best to sign up to a forum as I am learning c++.

However I do have a problem I am working on and can not seem to work it out. What I want to do it enumerate serial ports and find out which one is available and go from there. Currently I have just got a for loop and goes through testing com ports and then finds the correct one.

I have now decided to go down the route of using WMI and have modified the example on msdn website to take "SELECT * FROM Win32_SerialPort" Works great shows all com ports apart from one.

The one I need is a USB to Serial connection which it some how doesn't find. I hope some one can point me in the right direction.

Thank you in advance.
Do you mind posting this in the Windows Programming section please.
Just posted in the windows section, sorry about that.
Topic archived. No new replies allowed.