Click to See Complete Forum and Search --> : Obtaining a port no given the device name


Evelina
February 13th, 2003, 05:57 AM
Hi everyone,

Does anyone know how to obtain the port no given the device name connected to it ?

Thanks

Evelina

Evelina
February 16th, 2003, 10:01 PM
Hi All,

Nobody has any suggestion for this problem ?

Evelina

dude_1967
February 17th, 2003, 03:36 AM
Evelina,

Provide more details if possible.

What kind of port and what kind of device are involved in your development? It this question pertaining to a serial port or a USB port? What environment is the program running in, Windows or Linux? What is the code development environment, Visual Studio or something else?

Sincerely,
Chris.

:)

zdf
February 17th, 2003, 03:47 AM
You should provide more information about your problem. "the port" might be anything: an ordinary serial port, an USB port, a parallel port, etc.

Regards,

zdf
February 17th, 2003, 03:50 AM
Chris! Sorry! You are too fast! ;^)

Evelina
February 17th, 2003, 09:14 PM
Hi,

thanks for your replies. Currently I'm working with a card reader connected to the serial COM Port.

I am using Windows 98 environment and Visual C++

Thank You :)

Evelina

zdf
February 18th, 2003, 05:59 AM
Serial communication programming under Windows (only?) is tricky. I have developed applications using serial communication and I always had a hard time (shame on me!).

Search MSDN for “Serial Communications in Win32” technical article written by Allen Denver. It contains all the information you need.

Regards,