Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. VS2008 entropy - cannot open project resource views RC1015 error

VS2008 entropy - cannot open project resource views RC1015 error

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiohelpcsharpcomgraphics
19 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    charlieg
    wrote on last edited by
    #1

    Okay so my laptop has about 2.5 years of accumulated debris on it: VS2008, VS2015, VS Code (gone now). I have a project that contains multiple activeX controls for Windows Embedded Compact 7. I need to modify these for an update I need to get out. Go to control A - view resources - it expands to show me: Bitmap, Dialog, Icon, ... etc. Go to control B - view resources - burps with the error: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33) fatal error RC1015: cannot open include file 'winresrc.h" Now here's the weird part - they compile fine. So VS2008 can find it when it wants too. :confused: If I compare the two project files, I can see no differences (other than the filenames). I do have the files it is looking for, so it isn't that. In a fit of inspiration, I fired up a Windows 10 VM I have that is "newer" than the base iron. VS2008 running from there opens the resource views fine - same project files accessed over a shared folder. I'm at a complete loss. Any ideas? Most of my google fu points me to defunct microsoft forums, but most of the hits have to do with compile time issues.

    Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

    L L M 6 Replies Last reply
    0
    • C charlieg

      Okay so my laptop has about 2.5 years of accumulated debris on it: VS2008, VS2015, VS Code (gone now). I have a project that contains multiple activeX controls for Windows Embedded Compact 7. I need to modify these for an update I need to get out. Go to control A - view resources - it expands to show me: Bitmap, Dialog, Icon, ... etc. Go to control B - view resources - burps with the error: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33) fatal error RC1015: cannot open include file 'winresrc.h" Now here's the weird part - they compile fine. So VS2008 can find it when it wants too. :confused: If I compare the two project files, I can see no differences (other than the filenames). I do have the files it is looking for, so it isn't that. In a fit of inspiration, I fired up a Windows 10 VM I have that is "newer" than the base iron. VS2008 running from there opens the resource views fine - same project files accessed over a shared folder. I'm at a complete loss. Any ideas? Most of my google fu points me to defunct microsoft forums, but most of the hits have to do with compile time issues.

      Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Take a look at Project Properties -> General -> Windows SDK Version. It may be that your project needs to be re-targeted to a specific version as shown in the drop down in the right pane (yes Microsoft, a right pain).

      C 1 Reply Last reply
      0
      • L Lost User

        Take a look at Project Properties -> General -> Windows SDK Version. It may be that your project needs to be re-targeted to a specific version as shown in the drop down in the right pane (yes Microsoft, a right pain).

        C Offline
        C Offline
        charlieg
        wrote on last edited by
        #3

        Either I'm blind or it's not there. Perhaps because the project targets a smart device? Hmm, created a dummy mfc desktop app, I don't see it there either...

        Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

        L 1 Reply Last reply
        0
        • C charlieg

          Okay so my laptop has about 2.5 years of accumulated debris on it: VS2008, VS2015, VS Code (gone now). I have a project that contains multiple activeX controls for Windows Embedded Compact 7. I need to modify these for an update I need to get out. Go to control A - view resources - it expands to show me: Bitmap, Dialog, Icon, ... etc. Go to control B - view resources - burps with the error: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33) fatal error RC1015: cannot open include file 'winresrc.h" Now here's the weird part - they compile fine. So VS2008 can find it when it wants too. :confused: If I compare the two project files, I can see no differences (other than the filenames). I do have the files it is looking for, so it isn't that. In a fit of inspiration, I fired up a Windows 10 VM I have that is "newer" than the base iron. VS2008 running from there opens the resource views fine - same project files accessed over a shared folder. I'm at a complete loss. Any ideas? Most of my google fu points me to defunct microsoft forums, but most of the hits have to do with compile time issues.

          Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

          L Offline
          L Offline
          leon de boer
          wrote on last edited by
          #4

          Likely you have you include directories fixed to a specific directory Property Pages -> VC++ Directories -> Include Directories Set it back to Inherit from parent or project defaults

          In vino veritas

          C 1 Reply Last reply
          0
          • L leon de boer

            Likely you have you include directories fixed to a specific directory Property Pages -> VC++ Directories -> Include Directories Set it back to Inherit from parent or project defaults

            In vino veritas

            C Offline
            C Offline
            charlieg
            wrote on last edited by
            #5

            I checked this, I'll dig a little more. I'm not sure why I would need to change that when the project compiles fine. Wondering if there isn't some registry setting somewhere (grasping in the dark). This is just getting weirder. Now my VM cannot expand the project resource tree.

            Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

            L 1 Reply Last reply
            0
            • C charlieg

              Either I'm blind or it's not there. Perhaps because the project targets a smart device? Hmm, created a dummy mfc desktop app, I don't see it there either...

              Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Yes, it was a shot in the dark but has worked for me.

              1 Reply Last reply
              0
              • C charlieg

                Okay so my laptop has about 2.5 years of accumulated debris on it: VS2008, VS2015, VS Code (gone now). I have a project that contains multiple activeX controls for Windows Embedded Compact 7. I need to modify these for an update I need to get out. Go to control A - view resources - it expands to show me: Bitmap, Dialog, Icon, ... etc. Go to control B - view resources - burps with the error: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33) fatal error RC1015: cannot open include file 'winresrc.h" Now here's the weird part - they compile fine. So VS2008 can find it when it wants too. :confused: If I compare the two project files, I can see no differences (other than the filenames). I do have the files it is looking for, so it isn't that. In a fit of inspiration, I fired up a Windows 10 VM I have that is "newer" than the base iron. VS2008 running from there opens the resource views fine - same project files accessed over a shared folder. I'm at a complete loss. Any ideas? Most of my google fu points me to defunct microsoft forums, but most of the hits have to do with compile time issues.

                Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                charlieg wrote:

                "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33)

                Are you absolutely sure that you have a folder named incdue? Ouyay ouldshay ytray angingchay atthay otay includeway Best Wishes, -David Delaune, Oink

                C 1 Reply Last reply
                0
                • L Lost User

                  charlieg wrote:

                  "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33)

                  Are you absolutely sure that you have a folder named incdue? Ouyay ouldshay ytray angingchay atthay otay includeway Best Wishes, -David Delaune, Oink

                  C Offline
                  C Offline
                  charlieg
                  wrote on last edited by
                  #8

                  propeller head you are ;) I could not cut and paste it, just a typo on my part. Tomorrow it's supposed to rain here, I'll keep digging.

                  Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                  V 1 Reply Last reply
                  0
                  • C charlieg

                    propeller head you are ;) I could not cut and paste it, just a typo on my part. Tomorrow it's supposed to rain here, I'll keep digging.

                    Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                    V Offline
                    V Offline
                    Victor Nijegorodov
                    wrote on last edited by
                    #9

                    charlieg wrote:

                    I could not cut and paste it, just a typo on my part.

                    Do you mean the Ctrl+C / Ctrl+V doesn't work in your environment? :confused:

                    C 1 Reply Last reply
                    0
                    • C charlieg

                      Okay so my laptop has about 2.5 years of accumulated debris on it: VS2008, VS2015, VS Code (gone now). I have a project that contains multiple activeX controls for Windows Embedded Compact 7. I need to modify these for an update I need to get out. Go to control A - view resources - it expands to show me: Bitmap, Dialog, Icon, ... etc. Go to control B - view resources - burps with the error: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33) fatal error RC1015: cannot open include file 'winresrc.h" Now here's the weird part - they compile fine. So VS2008 can find it when it wants too. :confused: If I compare the two project files, I can see no differences (other than the filenames). I do have the files it is looking for, so it isn't that. In a fit of inspiration, I fired up a Windows 10 VM I have that is "newer" than the base iron. VS2008 running from there opens the resource views fine - same project files accessed over a shared folder. I'm at a complete loss. Any ideas? Most of my google fu points me to defunct microsoft forums, but most of the hits have to do with compile time issues.

                      Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                      M Offline
                      M Offline
                      mo1492
                      wrote on last edited by
                      #10

                      I'll just throw this out there from my own experience. You might try creating a 'test' user profile to see if it fixes it. I had a problem with VS2005 a couple of years ago that I could not figure out. I looked and looked and even tried reinstalling VS and couldn't fix it. I have two user profiles on my system and just by chance I logged onto my admin profile and opened VS and the problem was not there. So I created a new user profile that corrected the problem. Have no idea why.

                      C 1 Reply Last reply
                      0
                      • V Victor Nijegorodov

                        charlieg wrote:

                        I could not cut and paste it, just a typo on my part.

                        Do you mean the Ctrl+C / Ctrl+V doesn't work in your environment? :confused:

                        C Offline
                        C Offline
                        charlieg
                        wrote on last edited by
                        #11

                        Many of the error dialogs that Microsoft will post do not allow you to cut/paste the text...

                        Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                        L 1 Reply Last reply
                        0
                        • C charlieg

                          Many of the error dialogs that Microsoft will post do not allow you to cut/paste the text...

                          Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #12

                          So true, so annoying, and quite how they do it is a mystery.

                          1 Reply Last reply
                          0
                          • M mo1492

                            I'll just throw this out there from my own experience. You might try creating a 'test' user profile to see if it fixes it. I had a problem with VS2005 a couple of years ago that I could not figure out. I looked and looked and even tried reinstalling VS and couldn't fix it. I have two user profiles on my system and just by chance I logged onto my admin profile and opened VS and the problem was not there. So I created a new user profile that corrected the problem. Have no idea why.

                            C Offline
                            C Offline
                            charlieg
                            wrote on last edited by
                            #13

                            A good idea, sadly it did not work... i'll keep digging.

                            Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                            1 Reply Last reply
                            0
                            • C charlieg

                              Okay so my laptop has about 2.5 years of accumulated debris on it: VS2008, VS2015, VS Code (gone now). I have a project that contains multiple activeX controls for Windows Embedded Compact 7. I need to modify these for an update I need to get out. Go to control A - view resources - it expands to show me: Bitmap, Dialog, Icon, ... etc. Go to control B - view resources - burps with the error: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33) fatal error RC1015: cannot open include file 'winresrc.h" Now here's the weird part - they compile fine. So VS2008 can find it when it wants too. :confused: If I compare the two project files, I can see no differences (other than the filenames). I do have the files it is looking for, so it isn't that. In a fit of inspiration, I fired up a Windows 10 VM I have that is "newer" than the base iron. VS2008 running from there opens the resource views fine - same project files accessed over a shared folder. I'm at a complete loss. Any ideas? Most of my google fu points me to defunct microsoft forums, but most of the hits have to do with compile time issues.

                              Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              [winresrc.h??](https://social.msdn.microsoft.com/Forums/en-US/726464fc-27c1-4635-b5f6-25320a8d387a/winresrch?forum=vssmartdevicesnative)

                              Quote:

                              The final clue came when I looked at the file trying to include winresrc.h and saw that the include was enclosed in ...

                              The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

                              C 1 Reply Last reply
                              0
                              • C charlieg

                                Okay so my laptop has about 2.5 years of accumulated debris on it: VS2008, VS2015, VS Code (gone now). I have a project that contains multiple activeX controls for Windows Embedded Compact 7. I need to modify these for an update I need to get out. Go to control A - view resources - it expands to show me: Bitmap, Dialog, Icon, ... etc. Go to control B - view resources - burps with the error: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\incdue\winres.h(33) fatal error RC1015: cannot open include file 'winresrc.h" Now here's the weird part - they compile fine. So VS2008 can find it when it wants too. :confused: If I compare the two project files, I can see no differences (other than the filenames). I do have the files it is looking for, so it isn't that. In a fit of inspiration, I fired up a Windows 10 VM I have that is "newer" than the base iron. VS2008 running from there opens the resource views fine - same project files accessed over a shared folder. I'm at a complete loss. Any ideas? Most of my google fu points me to defunct microsoft forums, but most of the hits have to do with compile time issues.

                                Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                                M Offline
                                M Offline
                                mo1492
                                wrote on last edited by
                                #15

                                winresrc.h is in the Platform SDK folder on my system. Is this path included in your projects Include Directories list or has it maybe been moved into the incorrect order in the list?

                                C 1 Reply Last reply
                                0
                                • L Lost User

                                  [winresrc.h??](https://social.msdn.microsoft.com/Forums/en-US/726464fc-27c1-4635-b5f6-25320a8d387a/winresrch?forum=vssmartdevicesnative)

                                  Quote:

                                  The final clue came when I looked at the file trying to include winresrc.h and saw that the include was enclosed in ...

                                  The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects

                                  C Offline
                                  C Offline
                                  charlieg
                                  wrote on last edited by
                                  #16

                                  I'll double check that - found that post, but did not apply - could be my error.

                                  Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                                  1 Reply Last reply
                                  0
                                  • M mo1492

                                    winresrc.h is in the Platform SDK folder on my system. Is this path included in your projects Include Directories list or has it maybe been moved into the incorrect order in the list?

                                    C Offline
                                    C Offline
                                    charlieg
                                    wrote on last edited by
                                    #17

                                    Project has not been modified, and I don't move stuff. It hurts :) Here's the riddle - all I've checked in VS2008 indicates what it will use when I want to build. I support a number of platforms, so I have half dozen winresrc.h on my machine. I can build the project, but I cannot edit the resources. nothing I have read tells me what vs2008 is looking for - this smells like a bug. For the moment, I have the project updated and rebuilt using the VM, etc, but it's still something I want to fix. Truly appreciate all of the suggestions

                                    Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                                    M 1 Reply Last reply
                                    0
                                    • C charlieg

                                      Project has not been modified, and I don't move stuff. It hurts :) Here's the riddle - all I've checked in VS2008 indicates what it will use when I want to build. I support a number of platforms, so I have half dozen winresrc.h on my machine. I can build the project, but I cannot edit the resources. nothing I have read tells me what vs2008 is looking for - this smells like a bug. For the moment, I have the project updated and rebuilt using the VM, etc, but it's still something I want to fix. Truly appreciate all of the suggestions

                                      Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                                      M Offline
                                      M Offline
                                      mo1492
                                      wrote on last edited by
                                      #18

                                      Lastly, you probably have done this already but a search on "winresrc.h resource RC1015" brings up a number of questions and responses concerning this error. Good luck :)

                                      1 Reply Last reply
                                      0
                                      • C charlieg

                                        I checked this, I'll dig a little more. I'm not sure why I would need to change that when the project compiles fine. Wondering if there isn't some registry setting somewhere (grasping in the dark). This is just getting weirder. Now my VM cannot expand the project resource tree.

                                        Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759

                                        L Offline
                                        L Offline
                                        leon de boer
                                        wrote on last edited by
                                        #19

                                        Delete all the project files and do a create project from existing source .. usually faster once the problem goes to far.

                                        In vino veritas

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups