Hi
I am trying to run a c++ code in Visual Studio 2008. I am getting the following error.
rc 1110:Could not open .\SampleViewer.rc".Then PRJ0002:error 1 returned from C:\ProgramFiles\MicrosoftSDks\Windows\v 6.0A\bin\rc.exe.
I searched for the sampleviewer.rc file ..but i could only find sampleviewer.rc2??
The C++ code is used for the proscilla camera. please anybody help me out.
THanks
Loading

Sam HobbsRank #107 · 20.5K reputationPosted Sep 22, 2010, 5:10 PM EDT
theLizardRank #1,079 · 1.8K reputationPosted Sep 25, 2010, 8:52 PM EDT
rc.exe is just looking for the resource script it wants to compile the resources poited to by the SampleViewer.rc
Sam HobbsRank #107 · 20.5K reputationPosted Sep 25, 2010, 9:01 PM EDT
theLizardRank #1,079 · 1.8K reputationPosted Sep 25, 2010, 10:24 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Sep 25, 2010, 10:41 PM EDT
theLizardRank #1,079 · 1.8K reputationPosted Sep 25, 2010, 11:29 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Sep 26, 2010, 1:28 AM EDT
theLizardRank #1,079 · 1.8K reputationPosted Sep 26, 2010, 1:52 AM EDT
I also know that C++ Builder from Embarcadero will just as happily create a .res file from a .rc file with the following example
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
/////////////////////////////////////////////////////////////////////////////
TLIZARDAGENT BITMAP "TLIZARDA1.BMP"
TLIZARDFORMSAGENT BITMAP "TLIZARDA2.BMP"
TLIZARDODBCONNECT BITMAP "odbcsql.bmp
And this "It cannot write out a RC if it does not have one to read in." is contradictory to your earlier statement. If the IDE does not create the .rc and I know for a fact that rc.exe does not, what does?
Sam HobbsRank #107 · 20.5K reputationPosted Sep 26, 2010, 2:02 AM EDT
theLizardRank #1,079 · 1.8K reputationPosted Sep 26, 2010, 2:44 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Sep 26, 2010, 2:57 AM EDT
It is not a matter of what you can say, it is a matter of listening to the facts.
theLizardRank #1,079 · 1.8K reputationPosted Sep 26, 2010, 9:29 PM EDT
If it does not where the hell does the rc file come from? rc.exe DOES NOT CREATE these it JUST COMPILES them.
Sam HobbsRank #107 · 20.5K reputationPosted Sep 26, 2010, 10:10 PM EDT
Note that the person that created the thread created another thread so I might be confused about which one is which, but the problem is the same since both threads were created by the same person.
Yes the rc.exe utility just compiles RC files and related files. Yes the IDE reads and writes RC files when they are edited interactively by the IDE.
theLizardRank #1,079 · 1.8K reputationPosted Sep 26, 2010, 11:29 PM EDT
I am not an expert in anything I just know cow Sh** from Bull Sh** and I must say you have a lot of the later.