In my application, I need to customize CFileDialog based on FILEOPENORD dialog template, which is an old style dialog ( Windows NT 3.51 ). I also need to modify the dialog template to add a few controls to it. The code is working fine in a test application. But it's failing when I use this CMyFileDialog class in an extended DLL and invoking it from main application. There are no failure messages of Windows or MFC ( e.g. ASSERTions ). When I call DoModal(), no dialog is getting displayed.
Please let me know if you have any idea about this problem.