Results 1 to 8 of 8

Thread: Finding available COM ports with QextSerialPort

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Finding available COM ports with QextSerialPort

    "\\.\" is the string you need to prefix to the com port.
    Since "\" in C is an escape character (eg. so \n works), you need to type it twice for each once you want it.
    So when you type it in a C string, you would use "\\\\.\\".

  2. The following user says thank you to squidge for this useful post:

    Ferric (30th October 2010)

Similar Threads

  1. multiple view ports
    By manmohan in forum Qt Programming
    Replies: 3
    Last Post: 24th March 2009, 07:54
  2. network ports up/down
    By kemp in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2008, 09:38
  3. ports blocking
    By babu198649 in forum General Programming
    Replies: 3
    Last Post: 4th August 2008, 15:51
  4. Finding widget by name
    By mkarakaplan in forum Newbie
    Replies: 1
    Last Post: 9th December 2007, 17:38
  5. QExtSerialPort with com ports above com9
    By mightymark in forum Qt Programming
    Replies: 2
    Last Post: 29th May 2006, 08:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.