CFileDialog inside CTabCtrl - Programmer

This is a discussion on CFileDialog inside CTabCtrl - Programmer ; I have customized CFileDialog. When I use it "normally" (modal dialog)
it works well.
But I need it in a tab of CTabCtrl. In this case the program crash.
The project is:
http://control.dsi.unifi.it/~cialdi/openfile.zip
I use vc++ 6.0, and I have ...