Steve Roggow

Just recently I had to shut off my computer during a debug session with VS 2005 because the entire system had hung. Now whenever I attempt to insert windows messages into my code using the code wizard the message above in the subject line pops up. Nothing I do has corrected the problem. Can anyone help

Thanks!




Re: Visual Studio Debugger Add/Remove operation is impossible, because the code element 'my module' is read only.

nobugz

Try deleting the IntelliSense .ncb file, it may have become corrupted.





Re: Visual Studio Debugger Add/Remove operation is impossible, because the code element 'my module' is read only.

Dijesh

Delete the .suo, <username>.user, and .ncb (Solution User Options, Solution User Options File, and Intellisense database) file .




Re: Visual Studio Debugger Add/Remove operation is impossible, because the code element 'my module' is read only.

bean.hsu

No,Just save and close 'my module''s cpp file, and try it again, you wiil wait for a moment but finally the operation will be finished as usual.