-
May 20th, 2013, 11:16 AM
#1
CFileDialog::DoModal() never returns in DLL
Hello everyone.
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!
-Fan
DLLTest.zip
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|