[Lazarus] Project.pp
Gabriele Cappelletto
cappellettogabriele at yahoo.it
Wed Apr 3 18:49:04 CEST 2024
The code is this
function TExtPApplicationDescriptor.InitProject(AProject: TLazProject):
TModalResult;
TProject(AProject).UseAppBundle := False;
TProject(AProject).ProjResources.XPManifest.UseManifest := False;
TProject(AProject).ProjResources.ProjectIcon.SetStream(nil);
TProject(AProject).CompilerOptions.ExecuteBefore.Command :=
We need the reference to TProject, how do I remove this reference?
Il 03/04/24 15:32, Mattias Gaertner via lazarus ha scritto:
>
>
> On 03.04.24 15:28, Gabriele Cappelletto via lazarus wrote:
>>
>> Il 03/04/24 15:26, Gabriele Cappelletto via lazarus ha scritto:
>>>
>>> HI,
>>> I had a package that compiled well with Lazarus 2.2.4 (I used that
>>> one). Then I switched to 3.2 and it doesn't work anymore.
>>> Exactly it stops because it cannot find the file contained in
>>> lazarus/ide/Project.pp. What package should I include? And why did
>>> it work fine in Lazarus 2.2.4 (and also 2.2.6)?
>>>
>>> exactly the uses is this
>>>
>>> uses
>>> Classi, SysUtils, Controlli , Forms, Dialogs,
>>> LazIDEIntf, ProjectIntf, FormEditingIntf, Project, ModeMatrixOpts;
>>>
>>>
>>>
>>
>> uses
>> Classes, SysUtils, Controls, Forms, Dialogs,
>> LazIDEIntf, ProjectIntf, FormEditingIntf, Project, ModeMatrixOpts;
>
> Is this the uses section of one of your package units?
> Does your package trying to access the IDE unit "project" directly
> instead of the ProjectIntf?
>
> Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240403/41a20754/attachment.htm>
More information about the lazarus
mailing list