May 20th, 2013, 11:16 AM
CFileDialog::DoModal() never returns in DLL
I have problem in using CFileDialog:oModal() function in DLL.
I have no trouble in doing such function call in EXE application. Also, I have no trouble to show CColorDialog and my own dialog by using "DoModal()" functions.
To show your the issue more clearly, I attach a solution which includes 3 projects as shown below
1. The "DLL_Caller" project is to call the DLL "DLLTest.dll".
2. The "DLLTest" project is to create the DLL.
3. The "DLLTest_EXE" project has the same code as the "DLLTest" project, but a EXE version.
My development enviroment is Visual Studio2008 SP1.
Any help will be appreciated!
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.