Board index » delphi » Looking for COM-Ports...

Looking for COM-Ports...

Hi Everyone!

I have a simple question - How do You check what com-ports
are installed in the system (Win95/NT4)?

Hope someone could help me.

Best Regards, Peter!

 

Re:Looking for COM-Ports...


Try looking into
if CreateFile('comx',...)<>0 then Label1.caption:='Comx exists';

something like that should work... remember to close it as well

Roel

Quote
Peter Czidlina <ebcp...@ebc.ericsson.se> wrote:

: Hi Everyone!

: I have a simple question - How do You check what com-ports
: are installed in the system (Win95/NT4)?

: Hope someone could help me.

: Best Regards, Peter!

Re:Looking for COM-Ports...


Use the Registry:  See
http://www.inprise.com/devsupport/delphi/qanda/1338.html

Quote
Peter Czidlina wrote in message <35604DC8.F00B8...@ebc.ericsson.se>...

 > How do You check what com-ports are installed in the system (Win95/NT4)?

Other Threads