Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, July 2007
Problem with QFileDialog::getOpenFileName()


Message 1 in thread

Perhaps I've found a bug in getOpenFileName() of QFileDialog class. I'm using Qt 4.3.0 under Windows XP.

Unfortunately I can't explain how generate this problem because it appears randomly.

In my code I call this static method with this parameters:

getOpenFileName(this, "Apri un progetto", "E:/Work/LSR Projects", "Progetto LSR (*.lsrpro)");

Sometimes I have this error: "Unhandled exception at 0x6701745b (QtCored4.dll) in LSR.exe: 0xC0000005: Access violation writing location 0xfeeefeee."

It appears on "qatomic_windows.cpp" at line 149. I've tried to debug but I'm not able to understand the problem, because the program jumps from "qfiledialog_win.cpp" line 362 to "qatomic_windows.cpp" line 149 without an apparent reason and at this point appears the error of access violation.

I hope someone can understands the problem.

Regards.

Fabio Dago


------------------------------------------------------
Scegli infostrada: ADSL gratis per tutta l?estate e telefoni senza canone Telecom
http://click.libero.it/infostrada


--
 [ signature omitted ]