473,382 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

After editing resources the resource.h changes to resource.

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 ?
Dec 4 '07 #1
3 1315

"Lex" <Le*@discussions.microsoft.comwrote in message
news:6B**********************************@microsof t.com...
>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 ?
Find all instances of the word "include" in the .rc and .rc2, I think the
source of the problem will become obvious.

The resource editor rebuilds the entire .rc file each time it saves.
Dec 4 '07 #2


"Ben Voigt [C++ MVP]" wrote:
>
"Lex" <Le*@discussions.microsoft.comwrote in message
news:6B**********************************@microsof t.com...
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 ?

Find all instances of the word "include" in the .rc and .rc2, I think the
source of the problem will become obvious.

The resource editor rebuilds the entire .rc file each time it saves.
I found this

1 TEXTINCLUDE
BEGIN
"resource.\0"
END

I changed it to resource.h. Hope this solves the problem.

Thanks.
Lex

Dec 5 '07 #3

"Lex" <Le*@discussions.microsoft.comwrote in message
news:93**********************************@microsof t.com...
>

"Ben Voigt [C++ MVP]" wrote:
>>
"Lex" <Le*@discussions.microsoft.comwrote in message
news:6B**********************************@microso ft.com...
>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
?

Find all instances of the word "include" in the .rc and .rc2, I think the
source of the problem will become obvious.

The resource editor rebuilds the entire .rc file each time it saves.
I found this

1 TEXTINCLUDE
BEGIN
"resource.\0"
END

I changed it to resource.h. Hope this solves the problem.
It's been a while since I messed with the resource editor so I didn't
remember the exact syntax, but that is precisely what I was expecting you to
find.
>
Thanks.
Lex

Dec 5 '07 #4

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

Similar topics

3
by: Anthony Kroes | last post by:
I have a subform on a form and they are not linked. On the main form is a text box where the user types in a number. When that number changes, I have some code to make the corresponding text...
10
by: B Moor | last post by:
Host PC: Win SBS 2003 with 2.6 GHz processor and 1GB RAM SQL Server 2000 sp3 (or latest).MS Office 2k3 I have the access 2k3 front end running on server (this may get changed) and all was well...
5
by: Marcus Ahlberg | last post by:
I've been coding a C# project in "pure code" and I would now want to import it into VS.net. I have created a project and imported all sourcefiles and it's compiling without problems, except for the...
1
by: n! | last post by:
I have an irritating problem with VS.NET2003, C#. I wrote some code that would build my application menu from an XML resource file. Purely to make it easy for me to edit, so I've added this file as...
0
by: Johann Blake | last post by:
I'm having trouble grasping how ASP.NET correctly locates resources. There is plenty of documentation on this subject but some things are not clear at all. In my ASP.NET application, I have...
5
by: Franck | last post by:
Hello, I've just moved to visual developper 2005 to do so, I also had to use the convert assistant. what it did; moving my file resx files that i had in a diresctory called resx to a new...
2
by: Fredrik Rodin | last post by:
All, I'm having problems with my resource manager in ASP.NET 2.0 after conversion from ASP.NET 1.1. Here is a background: In ASP.NET 1.1 All my user controls and aspx pages inherit from...
0
by: Russell E. Owen | last post by:
I was using an older version of py2app to distribute an application. This placed the python library code in TUI.app/Contents/Resources/Python I just upgraded to py2app 0.3.5 and now I find the...
0
by: Mini12321 | last post by:
ok, so ive built a simple console interpretor in C#. Now it works all how I want it to, but here what the users gets after IDE encrypts files: =<app dir> ==users_app.exe ==app_code.txt ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.