I am developping a stand alone application using root. My application is based on a GUI built using a custom TGMainFrame.
I select and open the data file using TGFileDialog, and then I draw different histograms. Each time I open a new file, I close the previous one. Everything works fine and I can open two data files without any problems. When I try to open a third one, the dialog box freeze and the program do not answer to any action.
I enclose the code calling the TGFileDialog variable.
I am really sorry. My problem was not linked to the use of the class TGFileDialog. It was linked to my memory management. I forgot to delete pointers which led me to this strange behavior.