473,385 Members | 1,925 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,385 software developers and data experts.

MSVC corrupts .RC file and halts compilation

I have a weird .RC corruption problem with MSVC .NET 2003.

I have a .RC file that has been in use for years with .NET inside a project called Netcount. Recently I upgraded to .NET 2003 and migrated the project.

Now, everytime I access the resources to change a dialog or so, then, when I compile, the compiler halts with errors:
Generating Code...
Compiling resources...
..\Netcount.rc(1698) : error RC2135 : file not found: LANGUAGE
..\Netcount.rc(1707) : error RC2135 : file not found: 1252

After inspecting the .RC file, I found out that the keyword "RCDATA" is removed from the RC file which originally had this
...
1 RT_MANIFEST "res\\Netcount.exe.manifest"
6969 RCDATA "res\\ip2cntry.dat"
...

and because of this keyword being removed the RC compiler will fail a few lines below and give the errors as above.

I correct it, and then the compiler works fine...until later, when I need again to change some resources, it corrupts the RC file again...

Any hints on how to tell .NET 2003 NOT to corrupt my .RC file ?

--------------------------------
From: Pedro Lucas

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>Mr1ycZweBEeMaaYCmjrSzQ==</Id>
Nov 17 '05 #1
0 1353

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

Similar topics

2
by: Eric Brunel | last post by:
Hi all, We're trying to communicate with Microsoft Visual C++ 6.0 via COM to make it perform a few operations. Our main need is to set a breakpoint on a given line in a given file. We ended up...
2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
21
by: Alf P. Steinbach | last post by:
Just because there seems to be a lack of post-standard _correct_ tutorials: <url: http://home.no.net/dubjai/win32cpptut/>. Disclaimer: written this evening so perhaps there are "bugs" in the...
0
by: David Jacques | last post by:
I am developing some c/c++ programs to fetch .zip files from various external spatial data providers. I need to build the libwww libary in order to make sure that I can write code to download...
0
by: Don Wimani | last post by:
Hi, I'm working with code that won't compile, unless I leave out some macro's. The person I got this code from, tells me it has allways worked. And I believe it, because I actually saw it. ...
23
by: Babak | last post by:
Hi Everyone, I've written a standard C code for a simple finite element analysis in MSVC++ . When I save the file as a cpp file, it compiles and runs perfectly, but when I save it as a c file,...
6
by: hsmit.home | last post by:
Hello, I came across a strange error and it's really been bugging me. Maybe someone else has come across this and any insight would be appreciated. What I'm trying to accomplish is using...
17
by: fl | last post by:
Hi, I am learning C++ from the following C++ website, which has some very good small examples. For the second Fraction example, which has five files: Main.cpp Fraction.cpp Fraction.h...
4
by: eng | last post by:
I've had this problem with our C++ project. We have 2 lib projects. Lib1 and Lib2. Lib 1 uses Class A V1.0 header and Lib 2 uses Class V2.0 header. Both link to Class A V2.0 lib. These libs are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
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,...
0
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...
0
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,...

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.