It appears to be what console application projects generated by IDE’s intrinsic wizard cannot have version resource managed by IDE <- note the emphasis here.
Is there any workaround(s) for this issue? (i even ready to write an OTA wizard)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Add in your .dpr ( for example above the begin of the main code) the line:
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
$Rdirective.