Hi

I know how to check for modems using MSComm control. I send ATI1 and ATI3 commands to ports one by one. If port returns "OK" in the input buffer then its a modem. But this method FAILS if a port is already in use/open, for example,if allready used by dial up internet connectivity. Is there any other way of finding modems? Like finding from registry or some API.

Thanks in advance