I was just asking myself this same question. I found an answer at:
http://www.borland.com/devsupport/delphi/qanda/FAQ1774D.html
Basically, look in the registry under
HKEY_LOCAL_MACHINE\hardware\devicemap\serialcomm, which is refreshed at each
boot.
I don't know if its the definitive solution though, but short of TAPI, what
other options are there?
Andrew Cooke.
> -----Original Message-----
> From: Tom Munro Glass [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, July 09, 1999 3:05 AM
> To: Multiple recipients of list delphi
> Subject: [DUG]: How can you enumerate serial ports?
>
> How can you find out what serial COMn ports are present in a computer?
>
> I want to populate a combobox with a list of installed ports, including
> any
> that might currently be in use by some other application.
>
> ==================================================================
>
> Tom Munro Glass
>
> +----------------------------------------------------------------+
> | E-mail: |
> | Internet: [EMAIL PROTECTED] |
> | Web sites: |
> | TMG CONSULTANCY: http://www.tmgcon.com |
> | Tewkesbury Web: http://www.tmgcon.com/tewksweb |
> +----------------------------------------------------------------+
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz