How can I add Version info to my Console Applications?

Add in your .dpr ( for example above the begin of the main code) the line:

{$R *.res}

Then build your project.

It will force a resource file (.res) to be created. This also allows you to set the version info in the project options.

Update: I noticed that this ‘bug’ is fixed in Delphi 10 Seattle, or maybe in an earlier version. When I create a new console application, it will automatically have that $R directive.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)