Hello,
I have a question about to run an MFC dialog based C++ application from console:
if I run my application from console, I see the application start and the console immediately back to prompt.
I need that console wait the application exit before show me the prompt again.
I tried on Visual Studio 6, 2005 and 2010 but the behavior is the same.
Can anyone explain me if there is solution to avoid this?

Thank you

Rob