Questions tagged [rc.exe]

6 questions
16
votes
4 answers

LNK1158 cannot run rc.exe x64 Visual Studio

I'm trying to compile a simple program in Visual Studio for a 64-bit platform. Upon trying to compile, I get the error: LINK : fatal error LNK1158: cannot run 'rc.exe' I've been to many discussion threads where it indicates to copy rc.exe and…
gboy
  • 633
  • 1
  • 6
  • 13
10
votes
3 answers

Do I need afxres.h, if I am not using MFC? How do I remove it from the .RC script?

I don't know RC scripts. I want to include Product version, File version, etc. metadata into a DLL I'm building. I'm using an .rc file to do that. The build is makefile driven. I'm following along with an example .rc scrpit I found. The template…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
3
votes
0 answers

Visual Studio 2012 can't build on Windows 8 due to conflicting rc.exe with SDK 7 & VS2010

I have a Windows 8 machine running Visual Studio 2010 and 2012. The Windows SDK 7.0A was installed (presumably during the Visual Studio 2010 install) and I've recently installed Windows SDK 8. I need to have VS2010 Pro and VS2012 Ultimate on my…
2
votes
1 answer

How to create a .RC file to include version information & icons?

Im a bit new to this stuff. I Want to generate a .rc file that would include Version Information & Also contain Icons in it.. Version Information: VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,0 PRODUCTVERSION 1,0,0,0 { BLOCK…
CrazyFirewall
  • 33
  • 2
  • 7
1
vote
1 answer

How to generate .res file containing icons runtime

i need to make the res runtime and it need to contain some icons i have in a list in my application. the res file has to be placed in a project "Resource File" field. so it needs to be win32 compatable. i so fa tried to: create a .resx file runtime…
Fraŋkini
  • 118
  • 13
1
vote
5 answers

visual c++ rc.exe

i use visual studio 2008, and i chose a .cpp in visual c++ at first i copied a tutorial sample #include int main() { int x=1; int n =1; printf("Wie viele Zahlen wollen sie ausgeben lassen?: "); for(int i=0; i < n; ++i) { x*=i; //…
Tyzak
  • 2,430
  • 8
  • 38
  • 52