调用main()之前的异常0xc0000417,调试器没有捕获它,没有想法。 [英] Exception 0xc0000417 before main() is called, debugger doesn't catch it, out of ideas.

查看:71
本文介绍了调用main()之前的异常0xc0000417,调试器没有捕获它,没有想法。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常奇怪的问题。我们有一个32位的控制台应用程序,用于编译和运行正常。它是一个构建为64位的Win32 GUI应用程序的控制台版本,不包含任何GUI代码。现在,在对64位版本进行了几个月的代码更改之后,32位
将构建并链接,但是当在调试器内部或外部运行时,它会加载但会立即退出代码   - 1073740777(0xc0000417)。搜索该错误只会导致一些无用的非开发人员页面。我可以为VS2017中的调试器启用所有本机异常处理程序
,但这没有帮助。系统中有许多全局变量在构造函数中有一些代码,但我还没有清点所有这些。我希望调试器可以在这里提供帮助,但它没用。在哪里可以找到
在EXE中定义的main()之前初始化的全局对象列表?

Hi, I have a very strange problem. We have a 32-bit console app that used to compile and run fine. It's a console build of a Win32 GUI app built as 64-bit, no GUI code is included. Now, after a few months worth of code changes to the 64-bit build, the 32-bit will build and link, but when run inside or outside a debugger, it loads but immediately exits with code  -1073740777 (0xc0000417). Searching for that error just brings up some useless non-developer pages. I can enable all native exception handlers for the debugger in VS2017 but that doesn't help. There are a number of globals in the system that have some code in the constructors, but I haven't inventoried all of these yet. I would expect the debugger to help here, but it's useless. Where can I find the list of global objects that would be initialized before main() as defined in the EXE?

帮助!谢谢。

戴夫

推荐答案


 我在哪里可以找到在EXE中定义的main()之前初始化的全局对象列表?

 Where can I find the list of global objects that would be initialized before main() as defined in the EXE?


这篇关于调用main()之前的异常0xc0000417,调试器没有捕获它,没有想法。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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