Unsolved Help with QFile
-
Hi i was checking to modify the content of one file but show me this error:
shell\comdlg32\fileopensave.cpp(14247)\comdlg32.dll!77B01E65: (caller: 77B3268C) ReturnHr(1) tid(2114) 80004005 Error no especificado
CallContext:[\PickerModalLoop]What does it mean? I was only creating the file and writing.
I think is because for this line:
myfile.setFileName(QFileDialog::getSaveFileName(this,"myfile"));Show me this error
-
Please provide a minimal example so we can try to reproduce this.
-
@Jeronimo said in Help with QFile:
shell\comdlg32\fileopensave.cpp(14247)\comdlg32.dll!77B01E65: (caller: 77B3268C) ReturnHr(1) tid(2114) 80004005 Error no especificado
CallContext:[\PickerModalLoop]Sounds like this... Whats the Qt version ?
https://bugreports.qt.io/browse/QTBUG-52618 -
@Ni.Sumi qt 5.7. yeah it's the bug still show me error. I'm using windows 10 so i can sure that this bug still take error.
And the example:
ui->textfield->setText(QFileDialog::getOpenFileName(this,"Abrir archivo"));
}
And anyways i tried to update code but i still i get this message:
CallContext:[\PickerModalLoop]What does it mean?
The only solution i think is using windows 7 i think
-
Hi
Did you read the bug report?
They consider it "Out of scope" which means they dont think its a
Qt thing and no solution exists.It should still work. So you can ignore the warnings.
-
Hi,
FYI: I use Windows 10 (64-bit, version 1607) together with MSVC 2015 (Update 3) and I do not get the warnings when I use the code line
QFileDialog::getOpenFileName(this, tr("Open Image"), tr("C:/dev"), tr("Image Files (*.png *.jpg *.bmp)"));
of the bug report. So it should not be a general problem.
-Michael.