bwdean
asked on
Displaying a dialog after CResourceException
When my app receives a CResourceException or CMemoryException, I'd like to display a dialog telling my user that that's the reason I'm about to exit on him.
I plan to pre-allocate the dialog, and I'm catching the exception fine (in my override of CWinApp::ProcessWndProcExc eption()). But can I assure that my dialog will show when I call DoModal()? It seems that will try to use a few more resources above and beyond what was preallocated. Can I free up some pre-allocated memory for use just by my app or my pre-allocated dialog?
I realize this solution may just be for the CMemoryException and not the CResourceException, but that's alright.
thanks for any pointers or code,
bruce
I plan to pre-allocate the dialog, and I'm catching the exception fine (in my override of CWinApp::ProcessWndProcExc
I realize this solution may just be for the CMemoryException and not the CResourceException, but that's alright.
thanks for any pointers or code,
bruce
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks!
bruce