PDA

View Full Version : how do I detect a parallel port on a system



konrad_03
10-28-2003, 04:31 AM
hi all,

for conditional installation of a hardlock driver I would like to check whether there is a parallel port existing on the machine.

Did any of you ever program a function that can check this?
My idea is to check the hardware branch in the registry for an existing entry under \devicemap but I am not sure if this would be a failsafe way.

Any helpful input is appreciated