ATL-COM:无法返回新的代码元素... [英] ATL-COM: Failed to return new Code Element...

查看:110
本文介绍了ATL-COM:无法返回新的代码元素...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对VS2005 SP1 C ++项目有问题.

当尝试向ATL项目的IDL接口添加新方法时,显示以下错误
.无法返回新的代码元素.可能是语法错误.新元素名称:abc
这以前在此计算机上工作.我可以在具有相同VS的其他计算机上使用向导添加新方法,但在某些阶段它也停止工作.
在其中一台计算机上,此方法在出现此错误后出现在类视图中,因此无法再次添加.关闭并重新加载项目会使此方法消失.
解决此问题的方法非常有用,因为该向导在这里节省了很多繁琐的工作.
谢谢您,

I have a problem with VS2005 SP1 C++ project.

When trying to add new method to IDL interface of ATL project the following error is shown
    Failed to return new Code Element. Possibly syntax error. New Element Name: abc
This worked previously on this machine. I could add new methods using wizard on other machine with the same VS but on some stage it stopped working too.
On one of the machines the method appears in class view after this error, so it cannot be added once again. Closing and reloading the project makes this method disappear.
Would be great to solve this, since the wizard saves a lot of dirty work here.
Thank you,

推荐答案

我知道在SP1中已解决了类似的问题:http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=100182 ,因此,您可以在以下位置提交错误报告: http://connect.microsoft. com/VisualStudio ,其中包含重现此错误的详细步骤?

I know a similar issue has been fixed in SP1: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=100182, So could you file a bug report in: http://connect.microsoft.com/VisualStudio with detail steps to reproduce this error?

谢谢

rico


这篇关于ATL-COM:无法返回新的代码元素...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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