On Thursday, 17 May 2018 22:23:29 PDT alexander golks wrote: > the QFile::write call returns with no error, i called GetLastError() after > the QFile::write() and got 183. the file is written up to ~30MB, and > suddenly already exists?
If there was no error reported, trying to get the error state resutls in garbage. Using GetLastError() to get error codes from Qt reported failures is also garbage. Qt code may have done more operations after it found the error, which may have overwritten the last error code. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest