Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

CFileDialog hangs on dlg.DoModal()

jim_cox
Beginner
670 Views
I'm stuck (again)

I have a program which uses AFX and declares a CFileDialog

The program hangs when it calls dlg.DoModal()

There is no dialog displayed and no keyboard response

Again, its old code ported from another compiler - so meybe one of the compiler settings is wrong

Any thoughts anyone?

Thankx again

Jim

=mjc=
.
0 Kudos
2 Replies
Milind_Kulkarni__Int
New Contributor II
670 Views
There was a similar issue raised by a customer, which was escalated by me, which referred to CDialog, and Afx. And when the Button was pressed, it hanged and did nothing.

Please check first whether VS 2008 & VS 2005 successfully runs the program. If it runs, Intel compiler should also run without any problems. In my issue however, the hang was only with Intel compiler. You can as well try with Debug & Release build , whether it works, just to see the behaviour.

At best, this is the same issue reported by that customer. Please let me know if its possible to provide a test-code, and attach here. We need to have more detail for this issue.

Just to know, if you have precompiled binaries or third-party libraries that you are using without rebuilding with the new compiler?

Please also let know of the compiler version you are using.
0 Kudos
rosemarry_love
Beginner
670 Views

Hi,

The only notification sent by the Mobile Common File Dialogs is
CDN_TYPECHANGE so your OnInitDone() member is never called.

cheers,
0 Kudos
Reply