www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - RCC does not read correct bitmap

Hi,

I have RC file I succesfully compile with resource compilers under 
Visual C++, Intel C++, Borland C++ but which can't be compiled with RCC 
under Digital Mars.

following code cause problem:

BMP_BACKGROUND00        BITMAP  DISCARDABLE     "bitmaps\\default.bmp"
BMP_BACKGROUND01        BITMAP  DISCARDABLE     "bitmaps\\backgnd1.bmp"


as follow:

BMP_BACKGROUND01        BITMAP  DISCARDABLE     "bitmaps\\backgnd1.bmp"
                                                                      ^
windows\engine.rc(550) : Error: Premature end of bitmap resource file: 
'bitmaps\backgnd1.bmp'

Bitmap file is verified and correct. Any help ?

Włodzimierz Skiba
May 13 2003