Announcement

Collapse
No announcement yet.

How to use .RC files ?

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

  • How to use .RC files ?

    Hello, every one !

    I need some help about the correct use of .RC files,
    on how to convert them to .RES files which then be included
    into .BAS files.

    Could someone explain the complete process to follow ?

    Thank's a lot.
    Dominique

  • #2
    You have to compile your RC script into a binary RES file, and then convert that into a PBR file which can be included into your PB/DLL or PB/CC program with the #RESOURCE metastatement.

    Your PB compiler should come with a copy of the Micro$oft Resource Compiler, RC.EXE, which should be in the PBDLL60\Bin or PBCC20\Bin as appropriate. Those folders should also have in them a copy of PBRES.EXE which is used to convert the RES files into PBR files.

    I wrote a batch file to automate this process, so everything can be done with one command.
    If you try to make something idiot-proof, someone will invent a better idiot.

    Comment


    • #3
      Dominique,

      I am French like you, if ever you need help just give me a call at:
      04.76.98.16.73 (I am living in Grenoble).

      -------------
      Patrice Terrier
      mailto[email protected][email protected]</A>
      Patrice Terrier
      www.zapsolution.com
      www.objreader.com
      Addons: GDImage.DLL 32/64-bit (Graphic library), WinLIFT.DLL 32/64-bit (Skin Engine).

      Comment


      • #4
        Thank's for the advice, all is working now, i forgot to
        specifie the /r option into the command line of PBRES.

        Bye. every one
        Dominique

        Comment


        • #5
          I assume you mean RC.EXE instead of PBRES...?

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

          Comment

          Working...
          X