[Lazarus] How can I close a Lazarus project and open another?
bo.berglund at gmail.com
Sat Nov 7 13:24:04 CET 2015
On Sat, 07 Nov 2015 12:35:28 +0100, Bo Berglund
<bo.berglund at gmail.com> wrote:
>- Now I get a pop-up error box saying:
>Press OK to ignore and risk data corruption.
>Press Cancel to kill the program.
>At this point in the background the IDE is pointing to the following
>path for some by me unknown reason:
>So I click Cancel and Lazarus itself suddenly disappears!
>When I start Lazarus the next time it again loads the old test
>And the circle repeats on and on.
I should have waited a while...
If I do not click Cancel but OK then I get to the "Open Project File"
dialog and it is located in the path mentioned above.
If I now navigate down to /lnet/examples/console/lhttp and try to open
the fpget.pp file in there by changing the file type in the dropdown
list to "All files", then Lazarus completely locks up!!!!
No way out is given, no buttonclick works. After a considerable wait
there is a new dialog box shown:
The window "Lazarus IDE v1.5 - SSCommLNet" does
not seem to be responding. Do you want to force it to
exit by sending the terminate signal?
Sigh, the project it is complaining about is my test project which I
REALLY want to close, but Lazarus seem not to allow that.
What could I do in order to get to another project, and why does
Lazarus act so strange when I want to open a pp project file rather
than an lpi file?
The LNet example is a pp file which starts out at the top as follows:
sysutils, strutils, lnet, lhttp, lHTTPUtil, lnetSSL, URIParser;
So it is clearly a program file and incidentally it compiles fine in
the example directory when using make all.
I cannot wrap my head around the Lazarus way of doing thigs it seems
like. But locking up like this is really strange...
Is there a start argument for Lazarus like in Delphi (-np) that forces
the IDE to start with NO project loaded?
This seems to be what I need in order to get away from this endless
circle where I try to close the project and Lazarus crashes and comes
back up with the bad project loaded again...
Developer in Sweden
More information about the Lazarus