Am 14.07.2010 18:58, schrieb Albrecht Dreß: > Am 13.07.10 22:18 schrieb(en) Oliver Eichler: >> can you test if >> >> QByteArray data; >> >> has some valid size after you call readFile(...)? >> >> qDebug() << data.size(); > > The parameters to readFile() look not weird afaict (offsetLBL1 + offset > = 18258, size = 200), but the result of data.size is *always* 0... why??? > > Cheers, Albrecht >
You have to step thru void IGarminStrTbl::readFile(QFileExt &file, quint32 offset, quint32 size, QByteArray& data) in IGarminStrTbl.cpp line 81 ff Oliver ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ QLandkarte-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkarte-users
