scotdance
asked on
Reading Comm Ports
I'm writing a C program and need to attach the code to determine what the address of comm ports on a computer are. Need the code to incorporate within my own code. Apprecite any help.
Cheers
Cheers
What OS? If this is windows--win32--then you can't access the comm ports directly. You need to access them through the windows API functions (or write a device driver).
How do you know its windows?
ASKER
The program is to run in DOS
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you want detail info in windows you can run
"C:\Program Files\Common Files\Microsoft Shared\MSinfo\MSINFO32.EXE "
"C:\Program Files\Common Files\Microsoft Shared\MSinfo\MSINFO32.EXE
ASKER
Sumant
Can this determine what ports are not getting used??
Can this determine what ports are not getting used??