Re: OT: detecting a device connected to com1 or not on enumertion from application program...

Shiva Prasad T. S. wrote:

thanx vijay, I am aware of it…

But the device is not a pnp serial device…assume just i had connected
the other side to a system which runs a serial comm. program…,
atleast, i need to detect that the null modem cable is connected to some
active serial comm source…

any more ideas…??

thanx,

Shiva P

The most common (and reliable – which, admittedly, is not very) method for
determining this is via DTR. When a serial port is opened by an application,
DTR is normally asserted; when it is closed, it is normally deasserted.

  • Stevie-O

Real Programmers use COPY CON PROGRAM.EXE