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完畢后,添加消息響應代碼。屢試不爽?。?