2006. június 28., szerda

Version Info for DLL project


Problem/Question/Abstract:

I noticed that the options on the 'Version Info' tab of the 'Project
Options' dialog are all grayed 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.

Answer:

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.

Nincsenek megjegyzések:

Megjegyzés küldése