http://bugs.winehq.org/show_bug.cgi?id=4646
------- Additional Comments From arjan.mels@gmx.net 2006-28-02 15:28 ------- I tried various things, first of all creating dialog based, sdi & mdi application all give debug assertion. I traced this down to the use of side-by- side assembliies in MFC (resulting in ActivateActCtx calls, which are not yet supported in Wine). It calls functions like AfxInitCommonControlsEx and AfxRegisterClass which then give no valid results. If I copy paste a bit of MFC source and hack this a bit I can get rid of these assertion (see attached test case. The dialog based applications then starts working, the MDI application still quits in the way I originally described, so this migth not be related at all???
I attached the source and executable versions of my program so you can try for yourself.