[Lazarus] How to get the version of .lpk?

silvioprog silvioprog at gmail.com
Thu Nov 24 10:35:38 CET 2011

2011/11/24 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> Of a lpk file on disk or of a package loaded in the IDE?
> Mattias

Loaded in the IDE. I tried the function FindPackageWithName, but it
always returns me nil.

I'm using in an "About dialog" of my package:


With this codes:

1 - http://code.google.com/p/lazsolutions/source/browse/trunk/Forms/LSAboutFrm.pas#104
2 - http://code.google.com/p/lazsolutions/source/browse/trunk/Core/LSPackageIntf.pas#43


Silvio Clécio
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
Facebook - <facebook.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *

More information about the Lazarus mailing list