Correct way to remove old unused symbol?
-
Hello! I am wondering, I made a dialog box button and assigned it an ID such as ID_MyDialogBoxButton. Now that I've removed the button and no longer use it, I want to clean up the unused symbol. Is the best way to go into Resource.h and delete the offending #define line? I seem to remember Visual C++ 2005 has a symbol explorer. How to I bring this explorer up? And is this the best way to remove the symbol? Thanks so much! Max
-
Hello! I am wondering, I made a dialog box button and assigned it an ID such as ID_MyDialogBoxButton. Now that I've removed the button and no longer use it, I want to clean up the unused symbol. Is the best way to go into Resource.h and delete the offending #define line? I seem to remember Visual C++ 2005 has a symbol explorer. How to I bring this explorer up? And is this the best way to remove the symbol? Thanks so much! Max
-
That's cool, didn't know about that and just tried it. Make a back-up first, or use a revision control system! I just tried this on a scratch project and it flagged something as being in not-in-use when it was, so now it won't compile :sigh:. No worries here, just wanted to issue the warning.