Resource Editor Bug

G

GTi

I have upgraded my Win32/C project from MSVC 2003 project to MVSC 2005.
But now I can't save any changes on my resource .rc file.
I can open it in the resource edit, modify and add new controls.
But hitting the CTRL+S or save from the file menu it still have a star
mark on the file name.
When building the project the changes is not part of the new build.
When I exit Microsoft Visual Studio is ask me if I want to save the .rc
file, and when pressing the Yes button it give me an application error:
AppName: devenv.exe
AppVer: 8.0.50727.42
AppStamp:4333e699
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096b4
fDebug: 0
Offset: 00043345

This is critical for me to solve since I can't work on my project
anymore.

PS!
Sending a error report to Microsoft haven't helped me yet.
 
C

Carl Daniel [VC++ MVP]

GTi said:
I have upgraded my Win32/C project from MSVC 2003 project to MVSC
2005. But now I can't save any changes on my resource .rc file.
I can open it in the resource edit, modify and add new controls.
But hitting the CTRL+S or save from the file menu it still have a star
mark on the file name.

Is the file read-only or otherwise not-writable?
When building the project the changes is not part of the new build.
When I exit Microsoft Visual Studio is ask me if I want to save the
.rc file, and when pressing the Yes button it give me an application
error: AppName: devenv.exe
AppVer: 8.0.50727.42
AppStamp:4333e699
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096b4
fDebug: 0
Offset: 00043345

This is critical for me to solve since I can't work on my project
anymore.

PS!
Sending a error report to Microsoft haven't helped me yet.

Then you should contact Microsoft product support for your region.

http://msdn.microsoft.com/visualc/support/

-cd
 
N

Noah Stein

I'm going through a very similar bug myself. I've upgraded my project 2003
to 2005. I haven't tried to update .rc files. I can use resources out of any
new .resx file I create. I can't, however, access resources in a pre-created
..resx. E.g. if I try to set the icon on my main window to anything but the
default, it builds correctly; however, I get a run-time error at form load
time that complains that it can't find the resource. Do you also get this?
If so, should I figure out how to fix it, I'll post my answer here.

Also, just in case. When I upgraded I got link warnings that I hadn't
specified a target machine. If you see those warnings set the target machine
in your project settings. Your program will run much faster.


-- Noah
 
G

gt

Noah said:
I'm going through a very similar bug myself. I've upgraded my project 2003
to 2005. I haven't tried to update .rc files. I can use resources out of any
new .resx file I create. I can't, however, access resources in a pre-created
.resx. E.g. if I try to set the icon on my main window to anything but the
default, it builds correctly; however, I get a run-time error at form load
time that complains that it can't find the resource. Do you also get this?
I have't created any .resx file.
Must I do it?
Can't I use the .rc as it is ?

If so, should I figure out how to fix it, I'll post my answer here.

Also, just in case. When I upgraded I got link warnings that I hadn't
specified a target machine. If you see those warnings set the target machine
in your project settings. Your program will run much faster.
Wilco
Havn't tested it yet. Must test it and see if it make any changes
 
J

Jochen Kalmbach [MVP]

Hi GTi!
When building the project the changes is not part of the new build.
When I exit Microsoft Visual Studio is ask me if I want to save the .rc
file, and when pressing the Yes button it give me an application error:
AppName: devenv.exe
AppVer: 8.0.50727.42
AppStamp:4333e699
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096b4
fDebug: 0
Offset: 00043345

This is critical for me to solve since I can't work on my project
anymore.

A hotfix is now available:
FIX: When you modify a resource file in a Visual C++ 2005-based project
and then try to exit the IDE, Visual Studio may crash
http://support.microsoft.com/kb/918554/EN-US/

Greetings
Jochen
 
J

Jochen Kalmbach [MVP]

Hi GTi!
OK - nice :)
But where can I download this file.
I don't want to pay MS $99.00 only for that file !!!

Normally this is a free incident, because it is definitiv a bug...

Have you contancted MS product support and refered to the abouve
knowledgebase article?
Normally they sent you the hotfix via mail...

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 

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