How to un-initialize the hard drive using QT? win 7 has the disk management in which the drive can be made offline. How to make the same in xp and vista?
How to un-initialize the hard drive using QT? win 7 has the disk management in which the drive can be made offline. How to make the same in xp and vista?
It seems that people are expecting Qt to do everything now rather than just a gui toolkit, and I must admit, it does now do a lot besides gui.
However, platform specific tasks such as this I don't think will ever be supported.
You will be dismayed to learn that there is no pretty GUI for this on Windows Vista and that there is no Qt supplied QMakeAWindowsVistaDiskOffline class: http://lmgtfy.com/?q=windows+vista+diskpart
I am unaware of any way to do this on Windows XP and there is no QMakeAWindowsXPDiskOffline.
I can tell you are very disappointed with the terrible low-level, Windows-specific disk management support in Qt. I think that you will find some solace in the advice here: http://www.catb.org/~esr/faqs/smart-...ons.html#forum
Bookmarks