Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / August 2006

Tip: Looking for answers? Try searching our database.

Resource Editor Bug

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GTi - 08 Jun 2006 14:14 GMT
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.
Carl Daniel [VC++ MVP] - 08 Jun 2006 14:57 GMT
> 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
[quoted text clipped - 13 lines]
> 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
Noah Stein - 09 Jun 2006 01:07 GMT
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

>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.
[quoted text clipped - 18 lines]
> PS!
> Sending a error report to Microsoft haven't helped me yet.
gt@tunsoft.com - 09 Jun 2006 08:31 GMT
> 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

> -- Noah
>
[quoted text clipped - 20 lines]
> > PS!
> > Sending a error report to Microsoft haven't helped me yet.
Jochen Kalmbach [MVP] - 04 Aug 2006 11:08 GMT
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
[quoted text clipped - 10 lines]
> 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
GTi - 06 Aug 2006 14:13 GMT
> Hi GTi!
>
[quoted text clipped - 20 lines]
> Greetings
>    Jochen

OK - nice :)
But where can I download this file.
I don't want to pay MS $99.00 only for that file !!!
Jochen Kalmbach [MVP] - 06 Aug 2006 19:30 GMT
Hi GTi!

>>A hotfix is now available:
>>FIX: When you modify a resource file in a Visual C++ 2005-based project
[quoted text clipped - 4 lines]
> 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...

Signature

Greetings
  Jochen

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.