HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Hardware Newsgroups > Hardware

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-13-2007, 02:43 PM
GT
 
Posts: n/a
Default Does warning RC4005 matter?

I have googled for this and found 4 replies. One person asking the same
question with no answers and 3 things in non-english.

Full text of warning is:
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include/afxres.h(28) :
warning RC4005: 'IDR_MANIFEST' : redefinition

So the problem is being flagged in afxres.h inside a "#ifdef RC_INVOKED"
statement, so something is defining RC_INVOKED, but that is nowhere in my
code!

My "resource.h", has:
#define IDR_MANIFEST 1

And my "circa.rc" file has:
IDR_MANIFEST RT_MANIFEST "res\\Circa.manifest"

I don't remember, but these things were either added automatically, or as a
result of problems when I converted from VC6 to VS2005.

Thanks for any advice.


Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 04-13-2007, 03:08 PM
GT
 
Posts: n/a
Default Re: Does warning RC4005 matter?

Sorry, wrong group - was aiming for the C++ group I subscribe to, which is
next to this group on my list. Please feel free to answer though if it made
any sense!


Reply With Quote
  #3  
Old 04-13-2007, 04:42 PM
Grinder
 
Posts: n/a
Default Re: Does warning RC4005 matter?

GT wrote:
> I have googled for this and found 4 replies. One person asking the same
> question with no answers and 3 things in non-english.
>
> Full text of warning is:
> C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include/afxres.h(28) :
> warning RC4005: 'IDR_MANIFEST' : redefinition
>
> So the problem is being flagged in afxres.h inside a "#ifdef RC_INVOKED"
> statement, so something is defining RC_INVOKED, but that is nowhere in my
> code!
>
> My "resource.h", has:
> #define IDR_MANIFEST 1
>
> And my "circa.rc" file has:
> IDR_MANIFEST RT_MANIFEST "res\\Circa.manifest"
>
> I don't remember, but these things were either added automatically, or as a
> result of problems when I converted from VC6 to VS2005.


This article:
http://msdn2.microsoft.com/en-us/library/aa381032.aspx

....suggests that RC_INVOKED is automagically defined by your resource
compiler.
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!

Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger