Compiling an *.rc file with Borland C/C++

This is a discussion on Compiling an *.rc file with Borland C/C++ within the C++ Programming forums, part of the General Programming Boards category; I'm trying to load and/or compile a (*.rc) resource file using Borland C++. However, when I try to load the ...

Compiling an *.rc file with Borland C/C++

I'm trying to load and/or compile a (*.rc) resource file using Borland C++. However, when I try to load the file into the project or try to compile it using BRCC32 I always get an error "Expecting Filename" or "Cann't find filename". Can anyone tell me what I need to do to get rid of this error message.

Right, that should work. I forgot that brcc32 is for c++ and brc32 is for C, I guess. But I get the same error message using brc32 that I get using brcc32. In addition, the compiled resource will work with the ide and link even if the *.rc is compile with another rc compiler like lrc. This file won't compile even with lrc so, there must be a problem with the code. Therefore, I'm listing/attaching it in case someone can notice the problem for me.
Thanks in advance.