is there anyone know how to quit the vpscene from CView safely? When i quit ,the program broken. what's the reason? please help me! A lot thanks.
回答:
This is a common problem with MFC and no easy solution, due to the unfortunate way that MFC works.
The exit paths in MFC can be complicated, you have to ensure the every exit path in MFC is handled and correctly breaks the frame loop and shuts down Vega Prime before it exits
博主询问如何从CView安全退出Vpscene,称退出时程序崩溃,寻求原因。回答指出这是MFC常见问题,因MFC工作方式导致无简单解决办法,强调要处理好MFC的每个退出路径,在退出前正确中断框架循环并关闭Vega Prime。
669

被折叠的 条评论
为什么被折叠?



