Dear visitor, welcome to QtForum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Hi All
I am working on QT for Mac.
I have problem in reading hard disk sector.I am sending my program Which i am using to read the hard disk sector. I am reading the hard disk sector in a buffer and then write this buffer in a file.
i am also sending two Doc files which i created. one of which contents is readed by my program which i seen through HexEdit and other one is actual written on that sector on the hard disk. i have seen that particular hard disk sector by Winhex on windows and i also conformed this by using DiskEditor.
But my program is not reading what is actually written on that particular sector.
Plz help me giving code example how i can sought out this problem.
Reading harddisk sectors really isn't very platform independent. Since Qt's main purpose is to be a cross platform toolkit, it isn't really well suited for such tasks. Instead, use the open/seek/read calls available from the BSD core of OSX, and then present the information using Qt.