<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<span dir="ltr" lang="it"><span>
<div class="QFw9Te BLojaf">
<div class="cEWAef"></div>
<div class="fXYY1b D5aOJc"><span class="LdhArd"></span></div>
<div id="ow351" __is_owner="true"></div>
</div>
</span></span>
<div class="DVHrxd">
<div data-show-delay-ms="250" data-append-to-body="true"
data-propagate-tooltip-mouseover-events="true"
data-anchor-corner="bottom-left"
data-enable-skip-handler="false" data-popup-corner="top-left"
id="ow352" __is_owner="true">
<div><span></span></div>
</div>
</div>
<div class="DVHrxd">
<div data-show-delay-ms="250" data-append-to-body="true"
data-propagate-tooltip-mouseover-events="true"
data-anchor-corner="bottom-left"
data-enable-skip-handler="false" data-popup-corner="top-left"
id="ow352" __is_owner="true"></div>
</div>
<div aria-hidden="true" class="UdTY9 BwTYAc leDWne"
data-location="1">
<div class="kO6q6e"></div>
</div>
<div></div>
<div class="ebT7ne sMVRZe">
<div class="F0pQVc"></div>
</div>
<div class="FFpbKc">
<div><span class="mgPWDe">
<div data-show-delay-ms="250" data-append-to-body="true"
data-propagate-tooltip-mouseover-events="true"
data-anchor-corner="bottom-left"
data-enable-skip-handler="false"
data-popup-corner="top-left" id="ow357" __is_owner="true">
<div><span></span></div>
</div>
</span></div>
</div>
<div></div>
<div class="r375lc">
<div class="aJIq1d" dir="ltr" data-language-code="it"
data-language-name="Italiano" data-text=""
data-crosslingual-hint="undefined" data-location="1"
data-enable-toggle-playback-speed="true"><span
data-irrelevant-id="ucj-11"></span>
<div class="m0Qfkd"><span data-is-tooltip-wrapper="true"></span></div>
</div>
</div>
<div class="FFpbKc">
<div class="usGWQd">
<div class="KkbLmb">
<div class="lRu31" dir="ltr"><span class="HwtZe" lang="en"><span
class="jCAhz ChMk0b"><span class="ryNqvb">The code is
this</span></span><span class="jCAhz"><span
class="ryNqvb"><br>
</span></span></span></div>
<div class="lRu31" dir="ltr"><span class="HwtZe" lang="en"><br>
</span></div>
function TExtPApplicationDescriptor.InitProject(AProject:
TLazProject): TModalResult; <br>
<br>
TProject(AProject).UseAppBundle := False;<br>
TProject(AProject).ProjResources.XPManifest.UseManifest :=
False;<br>
TProject(AProject).ProjResources.ProjectIcon.SetStream(nil);
<br>
<br>
TProject(AProject).CompilerOptions.ExecuteBefore.Command :=<br>
</div>
<div class="KkbLmb"><br>
</div>
</div>
</div>
<p><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
class="ryNqvb">We need the reference to TProject, how do I
remove this reference?</span></span></span></p>
<p><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
class="ryNqvb"><br>
</span></span></span></p>
<div class="moz-cite-prefix">Il 03/04/24 15:32, Mattias Gaertner via
lazarus ha scritto:<br>
</div>
<blockquote type="cite"
cite="mid:76e84110-bc46-44f2-bb67-ed1be6173552@netcologne.de">
<br>
<br>
On 03.04.24 15:28, Gabriele Cappelletto via lazarus wrote:
<br>
<blockquote type="cite">
<br>
Il 03/04/24 15:26, Gabriele Cappelletto via lazarus ha scritto:
<br>
<blockquote type="cite">
<br>
HI,
<br>
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.
<br>
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)?
<br>
<br>
exactly the uses is this
<br>
<br>
uses
<br>
Classi, SysUtils, Controlli , Forms, Dialogs,
<br>
LazIDEIntf, ProjectIntf, FormEditingIntf, Project,
ModeMatrixOpts;
<br>
<br>
<br>
<br>
</blockquote>
<br>
uses
<br>
Classes, SysUtils, Controls, Forms, Dialogs,
<br>
LazIDEIntf, ProjectIntf, FormEditingIntf, Project,
ModeMatrixOpts;
<br>
</blockquote>
<br>
Is this the uses section of one of your package units?
<br>
Does your package trying to access the IDE unit "project" directly
instead of the ProjectIntf?
<br>
<br>
Mattias
<br>
</blockquote>
</body>
</html>