Fixed thanks rvk, with dependencies  dedebugger e ideconfig

Il 03/04/24 18:49, Gabriele Cappelletto via lazarus ha scritto:
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
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to