On Wed, 23 Nov 2011 23:49:17 -0200 silvioprog <[email protected]> wrote:
> Em 23 de novembro de 2011 23:21, silvioprog <[email protected]> escreveu: > > Hi, > > > > Is there any function to get the version of a LPK package? > > > > The tag with the version in LPK: <Version Minor="2" Release="2" Build="2"/> > > > > Thx. > > I tried this: > > http://wiki.lazarus.freepascal.org/Extending_the_IDE#Search_a_package_with_a_name > > But when I use the unit "PackageIntf", my IDE don't starts. The error: > "List index (-1) out of bounds" What means "use"? You can not use it in the initialization section of a unit, because the IDE was not created yet. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
