Page 1 of 1

Add VERSIONINFO to compiled *.bpl files

Posted: Fri Feb 15, 2019 8:59 pm
by santiago
Hello madschi,

we use a couple of 3rd Party Delphi Components. We need to know which version of that 3rd Party Component is in use.

madExcept is the only 3rd Party Component that does not include VERSIONINFO in the compiled *.bpl files.
Without that it is not possible for us to know which version of madExcept is currently in use.

Is this something you could consider adding?

Thank you!

Re: Add VERSIONINFO to compiled *.bpl files

Posted: Sat Feb 16, 2019 7:45 am
by madshi
madExcept.pas exports this for you to use:

Code: Select all

const
  CMadExceptVersionString : PAnsiChar = '5.0.0';
  CMadExceptVersionNumber = $05000000;
If you need to figure out the version "externally" (not from within your own process), you can look at the resource section at "RCData\DESCRIPTION\0". It's a Unicode String containing the madExcept version.

Re: Add VERSIONINFO to compiled *.bpl files

Posted: Mon Feb 18, 2019 4:13 pm
by santiago
"RCData\DESCRIPTION\0" will do.
Thank you!