Hello guys, newbie QT programmer here stuck and in need of help 
Case scenario is as follows: I have a binary file that i've managed to write data at specific address using the following piece of code:
QFile file ("example.dat";
fileData.replace(0x00000008,1,data_write);
file.seek(0);
file.write(fileData);
file.flush();
file.close();
QFile file ("example.dat";
QString data = "30";
file.open(QIODevice::ReadWrite);
QByteArray fileData(settings.readAll());
QByteArray data_write = QByteArray::fromHex(data.toLatin1());
fileData.replace(0x00000008,1,data_write);
file.seek(0);
file.write(fileData);
file.flush();
file.close();
To copy to clipboard, switch view to plain text mode
This piece of code works perfectly by writing 30 to 0x00000008 address.
Now, what i fail to do, is reading the data back from 0x00000008 address for further manipulation. So, how can i manage to read the data from that specific binary file address? I'm searching on the web for 4 days already and still no solution. Hope you guys can help me out.
Thanks in advance!
Bookmarks