Results 1 to 3 of 3

Thread: Locating a driver on the operating system

  1. #1
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    80
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Locating a driver on the operating system

    I have a general question.

    I would like to write an application accessing a device connected via USB to my PC running Microsoft Windows. The vendor of this device provides a CD for the installation of the driver that does consist of a bunches of .sys .inf and .dll files.

    The application itself can then access the device using the .dll file. This works fine.

    I am trying to see if there is a possibility to detect if the driver is installed. Under windows XP the driver is installed in the windows\system32 directory, I am not sure if this is the same under other version of Windows. I can imagine that the location could be different depending on the version and/or installation of the os.

    Is there some QT classes or mechanism, working whatever version of the operating system is running on the PC, that can be used to detect and find installed drivers ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Locating a driver on the operating system

    I'm not sure if that is what you want, but you can use QLibrary if you know the name of the driver.

  3. The following user says thank you to wysota for this useful post:

    schall_l (15th July 2008)

  4. #3
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    80
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Thumbs up Re: Locating a driver on the operating system

    Thank you, this is exactly what I was looking for.

Similar Threads

  1. QMainWindow in AIX operating system
    By Vani in forum Qt Programming
    Replies: 3
    Last Post: 14th June 2008, 20:50
  2. change operating system theme.
    By rajeshs in forum Qt Programming
    Replies: 2
    Last Post: 20th March 2008, 05:02
  3. How to know the operating system?
    By Dark_Tower in forum Newbie
    Replies: 4
    Last Post: 4th May 2006, 21:41

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.