Resource Problem MSVC++

Started by
1 comment, last by Sloner 18 years, 4 months ago
I'm trying to add an icon to my program, so I've added it in my .rc file. When I go to compile, however, it says "compiling resources" then moves on to the linking phase, and complains that "LNK1104: cannot open file "\Debug\resource.rec" anyone know what's causing this?
Advertisement
Check your file names.

The error message LNK1104: cannot open file "\Debug\resource.rec" seems self explanatory.

It should probably be "res" rather than "rec", since the resource compiler by default turns .rc files to .res.
I just got home and tried compiling it again, and it worked just fine. I'm not sure what the problem was, but thanks for the help.

This topic is closed to new replies.

Advertisement