Add VERSIONINFO to compiled *.bpl files

delphi package - automated exception handling
Post Reply
santiago
Posts: 73
Joined: Thu May 05, 2016 6:01 pm

Add VERSIONINFO to compiled *.bpl files

Post 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!
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Add VERSIONINFO to compiled *.bpl files

Post 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.
santiago
Posts: 73
Joined: Thu May 05, 2016 6:01 pm

Re: Add VERSIONINFO to compiled *.bpl files

Post by santiago »

"RCData\DESCRIPTION\0" will do.
Thank you!
Post Reply