VS2008 entropy - cannot open project resource views RC1015 error
-
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
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:
-
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
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.
-
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:
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
-
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
-
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.
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
-
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
[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
-
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
-
[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
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
-
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?
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
-
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
-
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
Delete all the project files and do a create project from existing source .. usually faster once the problem goes to far.
In vino veritas