Click to See Complete Forum and Search --> : RC2135 with bitmaps in resources


SJ Smith
April 11th, 2004, 03:45 PM
Hi,

I've added a resource file to a solution in .NET and when I try to compile it gives me the error

RC2135 File Not Found "board.bmp"

In the resource file it is referenced as

IDB_BACKGROUND BITMAP "Board.bmp"

the rc file and the bmp file are both inthe same directory (the project directory) The bitmap is valid.

I've added the . and .. directories to the project includes

It just won't build.

Any ideas

SJ Smith
April 11th, 2004, 06:20 PM
resource.h said

#define IDB_BACKGROUND -1

I changed this to

#define IDB_BACKGROUND 101

problem solved