使用 EDITBIN 时的错误代码 -1073741515 [英] Error Code -1073741515 When Using EDITBIN

查看:34
本文介绍了使用 EDITBIN 时的错误代码 -1073741515的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 EditBin 来增加我正在编写的应用程序的堆栈大小.我在 Visual Studio 的构建后事件命令行中有这个:

I'm using EditBin to increase the stack size of an application I'm writing. I have this in the post-build event command line for Visual Studio:

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\editbin.exe" /STACK:268435456 "$(TargetPath)"

当我构建我的项目时,我收到此错误:

When I build my project, I get this error:

错误 470 命令"C:\Program文件 (x86)\Microsoft Visual Studio10.0\VC\bin\editbin.exe"/STACK:268435456 "[目标可执行文件]""退出代码 -1073741515.

Error 470 The command ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\editbin.exe" /STACK:268435456 "[Target Executable]"" exited with code -1073741515.

我的 PATH 环境变量中有以下两个:

I have both of the following in my PATH environment variable:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin

当我使用 cmd.exe 手动运行该命令时,该命令也有效.有谁知道这里的问题是什么?

The command also works when I run it manually with cmd.exe. Does anyone know what the problem is here?

推荐答案

我现在通过将 mspdb100.dll 复制到与 editbin.exe 相同的目录中来使其工作,但这不是最佳解决方案,因为我的每个开发人员团队也需要做同样的事情.

I got this to work for now by copying mspdb100.dll into the same directory as editbin.exe, but this is not an optimal solution because every developer on my team will need to do the same thing.

这篇关于使用 EDITBIN 时的错误代码 -1073741515的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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