PDA

View Full Version : How to open hard disk in binary mode?



AttilaPethe
27th April 2015, 20:02
Do I have any chance to open the HDD (as device) for editing purposes like in hex editors?
Thanks for your answers in advance!

ChrisW67
27th April 2015, 21:29
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.