DelphiFAQ Home Search:

Version Info for DLL project


comments7 comments. Current rating: 5 stars (6 votes). Leave comments and/ or rate it.


I noticed that the options on the 'Version Info' tab of the 'Project
Options' dialog are all greyed out for a DLL project. Why is that?
Is there a different way of including version info in a DLL?
I would like to include version information in my DLL because it makes upgrade
installations simpler for our customers.


I feel that something else is broken in your installation. Make sure you check the box at the
top left of that tab which says 'Include version information in project'.

Also make sure that you have a resource file in your project file (*.dpr).
The line for this looks like this:

{$R *.res}.

If you removed this line by accident, no version information will be generated or even linked into your DLL.


2008-01-30, 09:10:35
Just a note that {$R *.res} needs to go after the uses clause in your .dpr file. If you put it before the uses clause you will get a compiler error.
2009-03-19, 07:54:05   (updated: 2009-03-19, 07:55:46)
anonymous from Russian Federation  
2009-03-19, 07:54:19
anonymous from Russian Federation  
2009-10-02, 19:56:09
anonymous from United States  
Thanks. That fixed it.
2012-11-12, 05:04:15
anonymous from United States  
2013-03-25, 04:04:50
thanks.. =)
2013-10-02, 13:44:48
anonymous from Poland  



NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: