Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / April 2006

Tip: Looking for answers? Try searching our database.

Linker error RC1015

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
picci - 07 Apr 2006 13:31 GMT
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
Bruno van Dooren - 09 Apr 2006 15:07 GMT
> I have installed a visual c++  express edition 2005 and I have converted
> an older form application ( vc++ 2003.net  managed code.).
[quoted text clipped - 6 lines]
> 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?

Signature

Kind regards,
   Bruno van Dooren
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.