본문 바로가기

Robotics/Software Tech.

Add/Remove operation is impossible,because the code element '(null)' is read only

Visual Stduio 2005에서 나왔던 버그(?)라던데 2008에서도 여전한가보다.

MFC 리소스 편집기에서 컨트롤을 추가하고 함수를 추가하려고 할때.. 이와같은 에러가 뜰때가 있다.

Add/Remove operation is impossible,because the code element '(null)' is read only

안그래도 머리아픈데 이넘은 왜 날 가만히 놔두지 않냐..

무슨 이유인지 모르겠지만.. 해결책을 찾은결과!!!

*.ncb파일을 찾아서 지우고 프로젝트를 다시 열면 된다는거...