2011/11/24 Mattias Gaertner <[email protected]>: [...] > What means "use"? > You can not use it in the initialization section of a unit, because the > IDE was not created yet. > > Mattias
Sorry, I saw now. :) The PackageEditingInterface is instanciated by IDE. I solved the problem with this function: http://code.google.com/p/lazsolutions/source/browse/trunk/Core/LSPackageIntf.pas#31 In my Lazarus "0.9.30.2 FPC 2.4.4 i386-win32-win32", the PackageEditingInterface.FindPackageWithName aways returns nil. -- 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 * =============================================== -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
