In our program, you can select a document type from a list. You then click OK, or double-click the selected item, and a new document is created and shown.
Now the problem is that SOMETIMES, in release mode only, when you double-click an item, the app hangs. You can still move windows, and all is repainted fine, but there's just no response whatsoever ... When in debug mode, there's no problem at all ... Also, most of the time everything works fine ??? There is no error information shown ... all we can do is terminate the process ...
How can we find out what's causing the hang?