Home > Visual Studio > Visual Studio Error Rc2104

Visual Studio Error Rc2104

Contents

First, I can also see the issue you had with windows.h - I am investigating that on the side. Why is this file name truncated in Nautilus? This is it. Thread Tools Display Modes 20-Oct-2011, 4:57 pm #1 FaultWire Moderator Join Date: Mar 2008 Posts: 14,462 Microsoft Visual Studio - [path] ) error RC2104 : undefined ... navigate here

c++ share|improve this question edited Jul 22 '13 at 7:00 perror 3,25572955 asked Sep 28 '12 at 20:42 Wil Prim 63031534 1 Which version of MSVC are you using? –user1201210 Change permission of file Seventeen year old daughter wants to take international trip to meet someone she met online Do the balefired souls get reborn when the Age comes back? more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Then you can set the 'real size control' proeperty back on the static text from properties window and continue working. https://msdn.microsoft.com/en-us/library/k2z28y0f.aspx

Ptw32_arch

When I reopened the resource, the last error was gone. I will list out the steps: on File -> New I choose MFC AppWizard(exe). It should.

Or you can download and install a recent Windows SDK which might correct the problem. share|improve this answer edited Jul 22 '13 at 6:39 Cody Gray 150k24287379 answered Jul 22 '13 at 6:29 Wasim A. 3,128115492 2 It probably has something to do with your It doesn't appear that rc.exe is actually being invoked to create the binary representation of the rc file necessary for the resource view, so I was unable to diagnose further. Ss_realsizecontrol Top Log in to post comments IanH Thu, 07/12/2012 - 16:33 On a relatively fresh XP VM with ifort 12.1.5 on top of VS2010 professional, things work (my test is simply

To confirm, when the new solution has finished loading select View > Resource View. Pbs_marquee If you have any ideas please let me know. This issue has been fixed in Visual Studio 2013. https://social.msdn.microsoft.com/Forums/en-US/d9167002-f9b8-44fe-b30e-fb77fdbe6a83/error-rc2104-undefined-keyword-or-key-name-idfilemrufile1-in-my-rc-file?forum=vclanguage more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Most useful knowledge from the 30's to understand current state of computers & networking? Rc2104 Bosch I don't believe that it has a bug in generating this particular (pretty common) project. c++ visual-studio winapi visual-c++ share|improve this question edited Jul 4 at 13:21 Mathieu Renda 193313 asked Aug 25 '10 at 12:57 clamp 11.1k55150260 add a comment| 8 Answers 8 active oldest It comes from a registry entry which may not be correct.

Pbs_marquee

ID_FILE_MRU_FILE1 is defined in afxres.h, which should be included in the boilerplate code generated when you create an MFC project. http://stackoverflow.com/questions/18298178/visual-studio-doesnt-open-my-project-rc-file-any-more Simply adding #include will fix it. Ptw32_arch Why is this file name truncated in Nautilus? Undefined Keyword Or Key Name Pbs_marquee This suggests to me that the registry entry for the Windows SDK is incorrect.

First, I clicked on Edit Code button and the source appeared. check over here This is the one. And your afxres.h? Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com Convenience and productivity tools for Microsoft Visual Studio: FeinWindows - replacement windows manager for Visual Studio, and more... enter the project name and location and click OK. Ds_setfont Undefined

Join them; it only takes a minute: Sign up error RC2104: undefined keyword or key name: DS_SETFONT up vote 3 down vote favorite 1 I am starting to learn about the I bet that OP has "fixed" either his rc file or his copy of afxres.h... (BTW, why aren't these files READONLY???) Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com Convenience Is it the same the files next to it? his comment is here Would you please copy and paste the actual error rather than retyping it (as you apparently did)?

This is the one. I then clicked build and run before typing anything and I came up with this error: error RC2104: undefined keyword or key name: DS_SETFONT.... Thanks! :-) –cybermonkey Jun 16 '14 at 19:33 3 I'm also able to solve my issue on Visual Studio 2015 community edition with this answer. –Andy Li Jun 19 '15

However, instead of updating Library Files, add the complete path to where the .h files are to the Include Files list for C++.

Could you please attach a copy of your generated rc file? Do you think that this is the problem of DLLs ? Top Log in to post comments Steve Lionel (Intel) Mon, 07/23/2012 - 13:13 Sorry, my system was giving me trouble last week. You could have a corrupted template, but I don't think so either.

Then, you can add the source separately in a project that at least compiles and runs.MS conversion utilities do not skip versions. try adding #include as well (and link your program to Comctl32.lib) –Default Aug 25 '10 at 13:28 2 Otherwise IDC_STATIC is defined as -1, so define it yourself if Top Log in to post comments Steve Lionel (Intel) Thu, 07/05/2012 - 07:07 The problem now is that the folder containing the Windows SDK .h files is not in the Includes weblink Look for a file all.rc in your template folder (I have it in C:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\MFC\Application\templates\1033).

Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies Electric car lease or buy? Maybe the order in which you did the install contributed to the problem. What dice mechanic gives a bell curve distribution that narrows and increases mean as skill increases?

Otherwise, just add that folder to the list for Includes. Reply With Quote June 24th, 2008,02:59 PM #8 VladimirF View Profile View Forum Posts Visit Homepage Elite Member Power Poster Join Date Aug 2000 Location New York, NY, USA Posts 5,656 Before doing that you could probably try to set the platform toolset back to its default setting (Project Properties -> Configuration Properties -> General: Platform Toolset). To start viewing messages, select the forum that you want to visit from the selection below.