pw...
Win7 Home Premium
The split in two was to try to get Lazarus to accept my TLabelList Component.
It will not when it is with other units - so I figured trying it alone would mabe give a hint of what is wrong.
But I can't find anything wrong, and it will not install alone either.
I do have things separated from Lazarus.
Someone wrote, Lazarus may findthings, it's not supposed to, if it knows where to look. That wy i moved things when recompiling Lazarus itself.
About the Registration procedures.
I actually tried to move them, as suggested by Soner earlier.
But Lazarus keep a ref to the register procedure in the units in the package registration code (minecomp.pas in the zip you sent me),
{ This file was automatically created by Lazarus. Do not edit!
This source is only used to compile and install the package.
}
unit MineKomp;
{$warn 5023 off : no warning about unused units}
interface
uses
LabelListContainer, LabelList, LazarusPackageIntf;
implementation
procedure Register;
begin
RegisterUnit('LabelListContainer', @LabelListContainer.Register);
RegisterUnit('LabelList', @LabelList.Register);
end;
initialization
RegisterPackage('MineKomp', @Register);
end.
And Lazarus discards changes to this file, and simply restores the code.
So if there are no Registration procedure in the individual units, compilation fails...
Your description, would include not to register the unit, but only the registration unit?
Is that what I am missing?