LoveBeyond

add/remove operation is impossible, because the code element is readonly 解决办法

add/remove operation is impossible, because the code element is readonly 解决办法
2009-09-10 22:42
Visual Studio弹出一个消息框提示:
MESSAGE: Resource Editor: Add/Remove operation is impossible, because the code element ''(null)'' is read only

解决方案是:
如果在这个出问题的类的头文件里定义了任何函数,把函数代码从头文件剪切到cpp文件里。关闭Visual Studio,删除ncb文件和suo文件(隐藏)。
打开工程,待Intellisesnce update完毕后,添加消息响应代码。屡试不爽啊!

posted on 2011-11-15 19:05 LoveBeyond 阅读(786) 评论(0)  编辑 收藏 引用

<2011年11月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

导航

统计

留言簿(1)

文章分类

搜索

积分与排名

最新评论

阅读排行榜

评论排行榜

友情链接:C++博客 LoveBeyond 代码疯子 程序人生 C++技术博客