Add VERSIONINFO to compiled *.bpl files

delphi package - automated exception handling

Add VERSIONINFO to compiled *.bpl files

Postby santiago » Fri Feb 15, 2019 8:59 pm

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

Re: Add VERSIONINFO to compiled *.bpl files

Postby madshi » Sat Feb 16, 2019 7:45 am

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

Re: Add VERSIONINFO to compiled *.bpl files

Postby santiago » Mon Feb 18, 2019 4:13 pm

"RCData\DESCRIPTION\0" will do.
Thank you!
santiago
 
Posts: 49
Joined: Thu May 05, 2016 6:01 pm


Return to madExcept

Who is online

Users browsing this forum: Google [Bot] and 2 guests