Skip to main content
GameDev.net gamedev.net
🔒 Locked

MFC Release Build and DX9

Started by davidx9 Nov 1, 2006 at 5:53 AM 0 replies 1k views
Original Post
davidx9
davidx9
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?
No bombs, No guns, just an army of game creators...
circlesoft
circlesoft
Quote:
Original post by davidx9
So my question is probably this - Does anyone know of any particular problems when integrating DirectX9 into MFC applications with the Release Build configuration?

I have used both without incident.

Are you sure it isn't some other underlying release-only bug? I have found it extremely helpful to make a pseudo-release build profile, where you generate debug information (/Zi), but still use release runtime libraries (/MT). This essentially allows you to debug a release-mode application.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.