是否改变了“/ MTd”?到“/ MT”影响SetUnhandledExceptionFilter()API捕获异常的能力? [英] Does the change of "/MTd" to "/MT" affect to capability of catching exception by SetUnhandledExceptionFilter() API?

查看:74
本文介绍了是否改变了“/ MTd”?到“/ MT”影响SetUnhandledExceptionFilter()API捕获异常的能力?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨那里,



我的申请是Win32(C / C ++)。



我正在使用SetUnhandledExceptionFilter()来捕获异常。



我打算更改"/ MTd"到"/ MT"选项设置以提高性能。



但是,我想知道从"/ MTd"到"/ MT"选项的变化会影响SetUnhandledExceptionFilter捕获异常的能力()API是否?

Hi there,

My application is Win32 (C/C++).

I'm using SetUnhandledExceptionFilter() to catch exception.

I intend to change "/MTd" to "/MT" option setting in order to improve performance.

But, I wonder that the change from "/MTd" to "/MT" option affect to capability of catching exception by SetUnhandledExceptionFilter() API or not?

提前谢谢。




推荐答案

您好,

/ MTd是调试版本,/ MT是发布版本版。 / MTd必须在调试模式下使用。 / MT必须在发布模式下使用。

/MTd is the debug version, /MT the release Version. /MTd must be used in Debug mode. /MT must be used in Release mode.

如果更改库,链接器将会遇到很多错误。

If you change the libraries, the linker will through many errors.

提高性能并发布您的应用程序,在发布模式下构建它。如果您想调试测试问题,请在调试模式下构建它。

To improve performance and to publish your application, build it in Release mode. If you want debugging for testing issues, build it in Debug mode.

问候,Guido

这篇关于是否改变了“/ MTd”?到“/ MT”影响SetUnhandledExceptionFilter()API捕获异常的能力?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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