alasoft Posted May 15, 2013 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 Quote
alasoft Posted May 15, 2013 Author Posted May 15, 2013 Apparently solved .. It's a 'pure Delphi stuff' problem .. Anyway, thanks ! Quote
ZigZig Posted May 9, 2014 Posted May 9, 2014 Hi Roberto, How did you solve this issue? I got the same one... Thanks! Quote
Administrators Farshad Mohajeri Posted May 9, 2014 Administrators Posted May 9, 2014 A unit must be declared only once in all packages. i.e . only one package can own a unit. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.