Announcement

Collapse
No announcement yet.

RC.EXE Error!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lance Edmonds
    replied
    The IDE is not intended for editing resource scripts, but it can be used to successfully do so, provided you set the "keywords caps" to "no change" in the Options dialog.


    -------------
    Lance
    PowerBASIC Support
    ( mailto:[email protected][email protected]</A> )

    Leave a comment:


  • Chuck de Young
    replied
    The resource compiler is case sensitive, I believe. Use #include and watch out about editing RC files in the PB IDE where your case rules will change the "include" according to your handling of case for Basic keywords.

    A RC file edited in the PB Ide will have Include and End goofed up, perhaps more.

    HTH

    Chuck

    Leave a comment:


  • Michael Mattias
    replied
    All the directives to RC.EXE are CASE SENSITIVE

    Wrong:
    #INCLUDE

    Right:
    #include

    Note: this happens to me a lot because I use the PB IDE's keyword capitalization option, and edit my resource files with PB.

    MCM

    Leave a comment:


  • Doug Gamble
    started a topic RC.EXE Error!!

    RC.EXE Error!!

    I can't compile RC files that use "#INCLUDE". I get a "fatal error RC1021: invalid preprocessor command 'INCLUDE' ". If I remove the reference to the resource.h file (#INCLUDE "resource.h"
    ) then it compiles. Any idea as to what could cause this? Could the resource.h file be corrupt? I have no problems compiling PowerBASIC code or creating PBR files from RES files, I just can't get the RC.EXE to make a RES file when I reference the resource.h file
Working...
X