470,833 Members | 1,309 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

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 4566
> 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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Baloff | last post: by
1 post views Thread by Laszlo | last post: by
9 posts views Thread by Peter Oliphant | last post: by
1 post views Thread by Felix | last post: by
3 posts views Thread by Rahul | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.