The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,087 other followers

On my research list: Delphi, .RC and .RES files

Posted by jpluimers on 2014/11/12

One of the things with Delphi and version control systems is that you’d rather have as few binary files in version control as possible.

One of the binary files in virtually every Delphi project is the RES file.

By default, it contains version information, and the icon for the project.

The compiler supports RC files, it’s just the IDE that insists on RES.

So on my research list is how to move everything to RC, and limit the IDE dependency on the RES files.


via: How to store a large text in a Delphi component? – Stack Overflow.

6 Responses to “On my research list: Delphi, .RC and .RES files”

  1. Rick said

    Cool. What if you want everything done for you and you just want to turn out features fast? :-)

  2. There’s not much to this. You just stop relying on the IDE to make the .res file and instead produce a .rc file. Either add that to the project, or compile it as a pre-build step.

    You pretty much have to do it instead of the IDE if you are doing any form of sane versioning, release branching etc.

    • jpluimers said

      Has anything significant changed on .RC files over like the last 15-20 years?
      The last time I actively used .RC files was back in the Turbo Pascal for Windows and Borland C++ for Windows days.

      • David Heffernan said

        Nope. Same old RC files.

      • bugcheck said

        Just make sure you use the Microsoft RC compiler and not the “Borland” RC compiler.
        I’m not sure if they still ship brcc32 with Delphi, but last time I checked it choked on the newer stuff. Also there are slight differences in the syntax of the Borland and Microsoft RC format.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: