Resource Editor Bug

L

Larry Gillstrom

Hi

Our company is trying to migrate all of our products developed in msvc 6 to
msvc 2005. Everything was going smoothly until we discovered that msvc 2005
will not save any changes we make in our resource (rc) files. And if we do
make a change in the resource file, msvc 2005 crashes on exit.

I noticed someone else reported this bug a few weeks ago, does anyone know
if there is a decent workaround for this?

Larry
 
C

Carl Daniel [VC++ MVP]

Larry said:
Hi

Our company is trying to migrate all of our products developed in
msvc 6 to msvc 2005. Everything was going smoothly until we
discovered that msvc 2005 will not save any changes we make in our
resource (rc) files. And if we do make a change in the resource file,
msvc 2005 crashes on exit.
I noticed someone else reported this bug a few weeks ago, does anyone
know if there is a decent workaround for this?

I haven't seen one. Contacting Product Support is probably the surest way
to find out.

-cd
 
L

Larry Gillstrom

For anyone who's interested I found a hacky solution for this problem:

Open the RC file in msvc 2005, delete all the dialog templates, then save
the resource file. (It now saves for me after deleting all of the dialogs).
Then undo the deletion of the dialogs and save again. Now that RC file saves
as it should from that point on.

Weird...
 
L

Larry Gillstrom

It's also interesting to do a diff between the original rc file, vcproj file
and resource.h file and the same files after the workaround described
below... lots of formatting changes and new items added.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top