Windows 10中的MFC [英] MFC in Windows 10

查看:98
本文介绍了Windows 10中的MFC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在C ++中使用Visual Studio构建了一个MFC产品,可以进行许多数学计算。  我们通过协处理器使用浮点中断,通过设置try / catch块来帮助加快计算速度。  那些中断
在Windows 7中运行良好,但Windows 10的其中一个更新打破了序列。  而"信号"则表示"信号"。 call仍设置"处理程序"的正确指针。回调,Windows 10忽略它。  (相同的代码在控制台
程序中工作;它只在MFC代码中失败,即使是最简单的剥离示例)。  我们有一个使用SEH的解决方法,但我们仍然想知道为什么会发生这种情况。  感谢您提供任何信息。

解决方案

您好John,


欢迎来到MSDN论坛。


请参阅您的描述,您的问题与C ++语言的开发更相关。由于我们的论坛是

讨论Visual Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统以及Visual Studio编辑器,我将帮助您将其移至相应的论坛:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral

专用信息,您将从那里获得更专业的支持,感谢您的理解。



祝你好运,


Sara


We have an MFC product built in Visual Studio in C++ that does many mathematical calculations.  We use floating point interrupts through the coprocessor to help speed up the calculations, by setting up try/catch blocks.  Those interrupts work well in Windows 7, but one of the updates for Windows 10 broke the sequence.  While the "signal" call still sets up the correct pointer for the "handler" callback,  Windows 10 ignores it.  (The same code works in a console program; it only fails in MFC code, even the simplest stripped example).  We have a workaround using SEH, but we would still like to know why this happened.  Thanks for any information.

解决方案

Hi John,

Welcome to the MSDN forum.

Refer to your description, your issue is more related to the development of the C++ language. Since our forum is to discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor, I will help you move it to the appropriate forum: https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral for dedicated information, you will get a more professional support from there, thank you for your understanding.

Best regards,

Sara


这篇关于Windows 10中的MFC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆