alasoft Posted May 15, 2013 Share Posted May 15, 2013 I made a very simple package (test-case) .. with unit uPrueba; interface uses UniButton; type TPrueba = class(TUniButton) end; implementation end. And .. unit cRegistra; interface procedure Register; implementation uses Classes, uPrueba; procedure Register; begin RegisterComponents('AlaSoft Prueba',[TPrueba]); end; end. When then I tried to 'make' the project (compile it) .. In .. unit seCSSParser; interface uses SysUtils, Classes, Dialogs; Doesnt' find Dialogs, so I changed to Vcl.Dialogs and compiled the project. Then I tried to 'Install' and .. Cannot load package 'uIndy17'. It contains unit 'uIdResourcesStringsProtocols', wich is also contained in Package 'Prueba' Any idea, about what's going on here ?? Thanks !! Rober Link to comment Share on other sites More sharing options...
alasoft Posted May 15, 2013 Author Share Posted May 15, 2013 Apparently solved .. It's a 'pure Delphi stuff' problem .. Anyway, thanks ! Link to comment Share on other sites More sharing options...
ZigZig Posted May 9, 2014 Share Posted May 9, 2014 Hi Roberto, How did you solve this issue? I got the same one... Thanks! Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 9, 2014 Administrators Share Posted May 9, 2014 A unit must be declared only once in all packages. i.e . only one package can own a unit. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now