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 ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    104

    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.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Are you talking about the free borland command line compiler or one with an IDE?

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    104
    I'm talking about one with an IDE.

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    Maybe someone else can help then.

    I have the free one, and to compile a resource (.rc) file, you type:

    brc32 filename.rc

    which gives you a .res file used when linking.

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    104
    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.
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 09:35 AM
  2. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 08:54 AM
  3. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 11:12 PM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21