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

Linker error RC1015

Hi all,

I have installed a visual c++ express edition 2005 and I have converted an
older form application ( vc++ 2003.net managed code.).

When I attempt to compile the project I get this kind of error from compiler
fatal error RC1015: cannot open include file 'afxres.h' ..
placed in app.rc file

How do I do to avoid this kind of error??
Thanks a lot,

Andrea
I apologize for my English
Apr 7 '06 #1
1 4685
> I have installed a visual c++ express edition 2005 and I have converted
an older form application ( vc++ 2003.net managed code.).

When I attempt to compile the project I get this kind of error from
compiler
fatal error RC1015: cannot open include file 'afxres.h' ..
placed in app.rc file

How do I do to avoid this kind of error??
Thanks a lot,


I just did a quick test, but if I create a new form app in VC2003, it never
uses afxres.h.
Are you sure that your project does not use MFC somewhere? because that is
not included with VC express.

Apart from that I just found this on google:
http://www.winprog.org/tutorial/errors.html

The advise there is to replace #include "afxres.h" with #include "winres.h"
The problem is that I do not know if that header is shipped with either the
PSDK or express because on my system it is in the atlmfc directory.

however, winresrc seems to be shipped with the platform SDK.
could you perhaps try using that one instead of afxres.h?

afxres.h contains a lot more than winres.h, but winres.h includes winresrc.h
and does not do much more that could be affecting you if the project is a
managed .NET project. so if it should be true that replacing afxres with
winres solves the problem, then winresrc might do the trick as well.

If that does not work, perhaps you can remove all non-essential stuff from
the app (so that it is very small) and mail it to me so that I can take a
look at it?

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Apr 9 '06 #2

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

Similar topics

12
by: Baloff | last post by:
Hello I have this linker error which makes me think that the definition file is not being seen by the linker, this code is taken from "Thinking in C++, 2nd Edition, Volume 1, Annotated Solutions...
1
by: Laszlo | last post by:
Hi all, As a novice I installed PostgreSQL 7.2.1 on Win32 and works, Borland C++Builder Enterprise Suite 5.0 (build 12.34) what works too. I decided to combine these two programs and develop a...
1
by: Nuray | last post by:
Hi, I´ve just tried scribble sample function. I got this message fatal error RC1015: cannot open include file 'afxres.rc' but the file is in C:\Program Files\Microsoft Visual...
9
by: Peter Oliphant | last post by:
For some reson my code is generating a LNK1215 error, which 'suggests' I re-install VS C++. So I did. which did NOT solve the problem. The weid part is it seems to be caused by my one CPP file, but...
1
by: Felix | last post by:
After porting a project from VC6 to VC.NET 2003 I have a very strange problem generating link error 1104 for import libraries. I just ported the project and made some small adaptions so it fits...
4
by: yOtA | last post by:
I get this Linker Errors while compiling my program: Error: Unresolved external 'vminit()' referenced from C:\TESTE\TESTE.OBJ Error: Unresolved external 'vmalloc(void *, int, unsigned int,...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
1
by: Deepath G | last post by:
This is deepath.. I am getting some linker error when i am trying to connect Websphere MQ using Borland C++ Builder 2006 using imqi.hpp on windows. Error Message ----------------------- ...
3
by: Rahul | last post by:
Hi Everyone, I have the following polymorphic classes, class Shape { public : virtual void draw() { } virtual void sample();
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.