The bug disappears by setting to false the following instance variable: m_bLoadWindowPlacement in the application class ctor...
That's why the first time the app runs fine but stops running after the first run.....
This is an MFC bug!!!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have an MFC app in VS 2022 that throws exception when InitInstance calls pMainFrame->LoadFrame(IDR_MAINFRAME)... it used to compile fine until now!! Please help!!
The bug disappears by setting to false the following instance variable: m_bLoadWindowPlacement in the application class ctor...
That's why the first time the app runs fine but stops running after the first run.....
This is an MFC bug!!!
I just created an MDI project using VS 2022 Preiview 3.0 and got the same assertion. Not fixed yet I guess. Or the fix got lost in versioning.
Got it. Yes, V1.1 still. So waiting for V2 fix.