473,797 Members | 3,187 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Resource Editor Bug

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:4333e6 99
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096 b4
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.

Jun 8 '06 #1
6 3093
GTi wrote:
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:4333e6 99
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096 b4
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
Jun 8 '06 #2
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
"GTi" <tu****@gmail.c om> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.com.. .
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:4333e6 99
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096 b4
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.

Jun 9 '06 #3
gt
Noah Stein wrote:
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
"GTi" <tu****@gmail.c om> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.com.. .
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:4333e6 99
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096 b4
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.


Jun 9 '06 #4
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:4333e6 99
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096 b4
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
Aug 4 '06 #5
GTi
Jochen Kalmbach [MVP] wrote:
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:4333e6 99
ModName: ntdll.dll
ModVer: 5.1.2600.2180
ModStamp:411096 b4
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
OK - nice :)
But where can I download this file.
I don't want to pay MS $99.00 only for that file !!!

Aug 6 '06 #6
Hi GTi!
>>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/

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/
Aug 6 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3895
by: RLW | last post by:
Help! I'm an undergraduate doing an MFC assignment using Visual Studio 7 and the resource editor has suddenly starting doing strange stuff. I created a number of new menu items, and the Resource.h file now contains #define statements for them that just don't work, for instance: #define ID_EDIT_INCR 0 #define ID_EDIT_ADD 0 All new Menu IDs are given the value of 0 instead of 130 or whatever
11
13172
by: Danny Pressley | last post by:
I have a VS.NET 2003 Visual C++ MFC Application Project in which I added a new resource file, I then added an icon to this new resource file and did a rebuild and got the following error: "fatal error CVT1100: duplicate resource. type:ICON, name:1, language:0x0409". But the resource ID is unique and only located in the new Resource1.h and MyResourceFile.rc files. Any ideas why this error is occuring? To generate the issue real quick, you...
5
18974
by: Adam Parkin | last post by:
Hello all, I am seeking some help with the following problem. I'm working on an application where I have a resource file, and in this resource file what I want to store is a list of file names (that is, essentially a string array). The potential solutions I see are: 1) Convert the string array into one big string with each element separated by some special value, store that string into the resource file's string table as a single...
4
8844
by: | last post by:
When do they plan on making this essential utility USEFUL? In its current form its pointless. How could they let this out? Its useless.
7
6926
by: Dan H. | last post by:
Hello, What is the equivalent "string resource file" in c#? And, is there a way to create a beep in C#? Thanks, Dan
9
1771
by: Jay | last post by:
I'm a long time use of msvc (since v2.0) but the resource editor in version 7.0 has me stumped. All I'm trying to do is edit the text in a button but I can't find any way of doing it. If I open up the resource editor I get a properties window but all the entries in the drop down list say 'Selected Object' and there is nothing in the main window. I'm having to resort to editing the .rc file by hand and it's a bit tedious. So is this a...
9
13003
by: Tom the Canuck | last post by:
A while back I was playing with C++ and made a simple program with a WAV file as a resource. It worked well and was easy to make. I then went on to try this with VB. I had problems. Can this be done in VB? I have VB6 (Visual Studio 6 Enterprise edition).. Any pointers to get me going in the right direction would help. I like to learn on my own. Making a mistake and figuring out where the error was made enhances the learning experience. It...
9
2856
by: Alf P. Steinbach | last post by:
<what to design a C++ solution for> A Windows API /resource/ is data embedded in the executable, accessed via API functions. A resource is completely identified by the quadruple (id, type, language, file), where (1) id is what, for want of a better name, I'll call a /kludgeon/, (2) type is also a kludgeon, (3) language is a small integer identifying a concrete national language or one of a set of pseudo-languages such as the Windows...
7
3467
by: Rich | last post by:
I am resurrecting this question (since it got bumped down by more recent posts). This is probably very simple - I need to add a version resource to a DLL project in MSVC++ 2005 Express in order to have version info, copyright, etc. when checking the DLL file properties from Windows Explorer. Any guidance is appreciated.
3
1333
by: =?Utf-8?B?TGV4?= | last post by:
I have a standard MFC application, every now and then, probably after editing resources or classes it changes the #included statement in the .RC file from resource.h to reasource. I then have to manually edit .RC file to recover. I am using VC2005 on Windows vista ultimate. The project was original ported from VC6 Any idear what could cause this behaviour. Could this be vista releated ?
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9537
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10469
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10209
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10023
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9066
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7560
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2934
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.