midl error -2147024774 VS2010 64位 [英] midl error -2147024774 VS2010 64-bit

查看:218
本文介绍了midl error -2147024774 VS2010 64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从VS2005导入VC ++项目到VS2010,它在Win32 Debug,Win32 Release和Win64 Release下编译/链接。

Imported VC++ project from VS2005 to VS2010 and it compiles/links under Win32 Debug, Win32 Release and Win64 Release.

对于Win64 Debug模式,它会产生以下错误:

For Win64 Debug mode, it generates following error:

   C:\Program Files(x86)\ MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(320,5):错误MSB6006:" midl.exe"退出代码-2147024774

   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(320,5): error MSB6006: "midl.exe" exited with code -2147024774

IDL,ODL文件存在于文件夹中。

IDL, ODL files are present in folder.

推荐答案

这是Win32错误代码ERROR_INSUFFICIENT_BUFFER的HRESULT。所以这将是一个内部midl错误。

That is the HRESULT for the Win32 error code ERROR_INSUFFICIENT_BUFFER. So this would be an internal midl error.

我建议你确保你已经将VS2010更新到Service Pack 1.如果你已经这样做了,请在VS2010的另一个系统上进行测试。如果它以完全相同的方式在另一台机器上失败,则将其报告为
连接网站上的错误。

I would suggest you make sure that you have VS2010 updated to service pack 1. If you have already done this, test it on another system with VS2010. If it fails on this other machine in the exact same way then report it as a bug on the connect web site.

哦,还要确保将midl的/ env命令行选项更改为x64,因为某些原因在复制配置时不会更改。它可能会干扰某些事情。

Oh, also make sure that you changed the /env command line option for midl to x64, for some reason this isn't changed when you copy the configuration. It may be interfering with something.


这篇关于midl error -2147024774 VS2010 64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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