CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2003
    Posts
    14

    Obtaining a port no given the device name

    Hi everyone,

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

    Thanks

    Evelina

  2. #2
    Join Date
    Feb 2003
    Posts
    14
    Hi All,

    Nobody has any suggestion for this problem ?

    Evelina

  3. #3
    Join Date
    Jun 2002
    Location
    Germany
    Posts
    1,557

    Details

    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.

    You're gonna go blind staring into that box all day.

  4. #4
    Join Date
    Jun 2002
    Posts
    224
    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

    What is good is twice as good if it's simple.
    "Make it simple" is a complex task.

  5. #5
    Join Date
    Jun 2002
    Posts
    224
    Chris! Sorry! You are too fast! ;^)
    ZDF

    What is good is twice as good if it's simple.
    "Make it simple" is a complex task.

  6. #6
    Join Date
    Feb 2003
    Posts
    14
    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

  7. #7
    Join Date
    Jun 2002
    Posts
    224
    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,
    ZDF

    What is good is twice as good if it's simple.
    "Make it simple" is a complex task.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured