[Lazarus] Lazarus 0.9.27 rest unit1.lrs on windows desktop whensave new Application

Mattias Gärtner nc-gaertnma at netcologne.de
Wed Feb 11 11:49:10 CET 2009


Zitat von ÷ÌÁÄÉÍÉÒ óÒÅÄÎÉÈ <cobalt747 at mail.ru>:

> Suppose, it's because of shortcut to Lazarus does not contain Work Directory,
> and it became Desktop.
>
> From this point i think, that write to, or read from "somefile" does not
> good.
> Good practice is to specify FULL path to file any time.

The IDE will cut any full path automatically.


>[...]
> > Steps to reproduce:
> >
> > Start Lazarus.
> > Menu File->New...-> Application
> >
> > then Menu File->Save All, save all files to new created directory
> >
> > Look at desktop and find out unit1.lrs
> >
> > If i add one more forms to project, then for each unit will be unitN.lrs on
> Desktop

Are these created already before saving or after you saved the new unit?

The .lrs files should be put into the same directory as the .ppu files (the unit
output directory). This has been changed recently.
Where are the .ppu files created, when you compile?

Mattias




More information about the Lazarus mailing list