Original Post
Has anyone else experienced this problem? I have a multi-dialog MFC app, that has a dialog which uses DirectX9 to generate a display. When running a debug build, everything works fine, focus changes are handled, other dialogs can be opened and closed, even other Directx9 dialogs can be created. However, when running a release build, if a dialog is created and shown, after the Directx9 dialog is displayed, the system crashes (with obviously limited debugging information). I should point out that the system is stable without the addition of Directx9 and works correctly with my software rasterizing routines. Also, the dialogs are created modeless. So my question is probably this - Does anyone know of any particular problems when integrating DirectX9 into MFC applications with the Release Build configuration?