I have an application in where I let the user select a file from a TOpenDialog
.
When I have UseLatestCommonDialogs
set to true
(default), my application will crash after the user has click the button 10-15 times.
The problem is isolated to this unique function, it the user avoids this step the application will not crash.
When it crashes, the user is getting a "Thread creation error: Not enough storage is available to process this command."
So far this seems to happen on Windows 7 only and can be solved by setting UseLatestCommonDialogs
to false
. (Aero is active)
Does anyone know about a workaround, since I would prefer to use the new dialogs?
Thanks in advance for any hints. Mikael.