Cannot access rc file in resource viewer!!

in a MFC app, once of a sudden I cannot open the rc file in the resource viewer!!
It says I have it open in some other editor!!

Please help! I rebooted to no avail...


Regards,
Juan
If you have the Sysinternals tools installed, try handle.exe as follows:
handle -v | findstr \the_name_of_the_directory_that_the_rc_file_resides_in

You can also try procexp.exe. Do control-shift-F and search for the name/path of the locked file. You may need to be root, but I'm not sure.
Last edited on
if you opened the rc file as text, it can lock you out. Its easy to accidentally open it in a tab, or even another editor. Ive had it bug up as well, where nothing has it open but visual thinks otherwise ...
If the IDE has the resource definition header file and/or the resource script file open as viewable text file(s) VS whinges the resource design tools can't be opened. I know that from experience, having done this numerous times.

Normally I do any resource editing as text in the header and resource script files, when using the resource design tools VS can add a lot of what I consider extraneous verbiage to the files.

VS can open user edited header and resource script file(s) in the resource design allowing the designer to visual view the resources without adding the bloat. Tweak or add resources, though, and IDE design text is added back to the files.
Topic archived. No new replies allowed.