Results 1 to 2 of 2

Thread: How to open hard disk in binary mode?

  1. #1
    Join Date
    May 2011
    Location
    Transylvania
    Posts
    7
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default How to open hard disk in binary mode?

    Do I have any chance to open the HDD (as device) for editing purposes like in hex editors?
    Thanks for your answers in advance!

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to open hard disk in binary mode?

    Assuming you mean on Windows: you will have to use the Windows API and deal with all the restrictions imposed by Vista and later versions. For older Windows see:
    https://support.microsoft.com/en-us/kb/100027
    I am fairly sure you cannot achieve this with only Qt QIODevice access.

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

    AttilaPethe (28th April 2015)

Similar Threads

  1. Open a binary file.
    By TJSonic in forum Qt Programming
    Replies: 13
    Last Post: 22nd July 2010, 22:32
  2. Copying files from USB disk to System disk using GUI
    By augusbas in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2010, 11:45
  3. Replies: 1
    Last Post: 25th December 2009, 19:43
  4. How to get hard disk free space in Windows?
    By cutie.monkey in forum Qt Programming
    Replies: 1
    Last Post: 20th September 2008, 08:36
  5. how to get hard disk serial number
    By rmagro in forum Qt Programming
    Replies: 3
    Last Post: 8th January 2008, 16:08

Tags for this Thread

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.