Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-10

0.8.5 alpha - Plz read carefully

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Mattias Gaertner: The LCL has finally become completely independent of the interfaces. When you update your…
What is the preferred order of units in the uses clause? 1. uses Interfaces, Forms, MyForm; 2. uses Forms, Interfaces, MyForm;

There is no double identifier and interfaces uses forms, so the initialization order is fixed. You can write the three units above in any permutation.

Are you going to update the examples or should I send you patch for it?

I added them already.
I just started a few of them and saw a lot of errors. :( I must admit, that I never pay much attention to the examples, but this was too worse. These are not examples for the LCL, these are bug reports. I will fix them in the next days ..

Mattias

Show quoted text 43 lines
Regards, Vincent Snijders. > -----Oorspronkelijk bericht----- > Van: Mattias Gaertner > Verzonden: zaterdag 26 oktober 2002 17:34 > Aan: > Onderwerp: [lazarus] 0.8.5 alpha - Plz read carefully > > > Hi all, > > The LCL has finally become completely independent of the interfaces. > When you update your cvs plz make sure that you use the -dP options, > and rebuild clean. Some important files were removed. > Because of the independency an old trick does not work any longer. > You MUST now add 'interfaces' to the programs uses statement. The > IDE will do this automatically for new applications. For your > existing projects, you must do this yourself. Otherwise if you > compile an old application with the new LCL you will get the > following error on startup: > > ERROR: No interface object. Plz check if "interfaces" was added to > the programs uses section. > > To reflect this backwards incompatibility and because it was time > anyway, the lazarus version was increased to 0.8.5 alpha. > > A detailed list of changes to 0.8.4a will follow in the next days. > > > Mattias > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Vincent Snijders
to Mattias Gaertner

I see you added the interface clause to all the units. I thought it only needed to be added the the main unit (the program) and not to the form units (i.e. helloform.pp).

Show quoted text 32 lines
-----Oorspronkelijk bericht----- Van: Mattias Gaertner Verzonden: dinsdag 29 oktober 2002 9:30 Aan: Onderwerp: Re: [lazarus] 0.8.5 alpha - Plz read carefully On Mon, 28 Oct 2002 21:18:59 +0100 "Vincent Snijders" wrote: > What is the preferred order of units in the uses clause? > > 1. uses Interfaces, Forms, MyForm; > 2. uses Forms, Interfaces, MyForm; There is no double identifier and interfaces uses forms, so the initialization order is fixed. You can write the three units above in any permutation. > Are you going to update the examples or should I send you patch for > it? I added them already. I just started a few of them and saw a lot of errors. :( I must admit, that I never pay much attention to the examples, but this was too worse. These are not examples for the LCL, these are bug reports. I will fix them in the next days .. Mattias

Reply by email

Vincent Snijders
to Mattias Gaertner: The LCL has finally become completely independent of the interfaces. When you update your…

What is the preferred order of units in the uses clause?

1. uses Interfaces, Forms, MyForm;
2. uses Forms, Interfaces, MyForm;

Are you going to update the examples or should I send you patch for it?

Regards,
Vincent Snijders.

Show quoted text 33 lines
-----Oorspronkelijk bericht----- Van: Mattias Gaertner Verzonden: zaterdag 26 oktober 2002 17:34 Aan: Onderwerp: [lazarus] 0.8.5 alpha - Plz read carefully Hi all, The LCL has finally become completely independent of the interfaces. When you update your cvs plz make sure that you use the -dP options, and rebuild clean. Some important files were removed. Because of the independency an old trick does not work any longer. You MUST now add 'interfaces' to the programs uses statement. The IDE will do this automatically for new applications. For your existing projects, you must do this yourself. Otherwise if you compile an old application with the new LCL you will get the following error on startup: ERROR: No interface object. Plz check if "interfaces" was added to the programs uses section. To reflect this backwards incompatibility and because it was time anyway, the lazarus version was increased to 0.8.5 alpha. A detailed list of changes to 0.8.4a will follow in the next days. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Mon, 28 Oct 2002 21:18:59 +0100 There is no double identifier and interfaces uses…
I see you added the interface clause to all the units.

Not all units. Just three too much. Deleted.

I thought it only needed to be added the the main unit (the program) and not to the form units(i.e. helloform.pp).

Right.
(It's completely irrelevant what unit/program source file contains the 'interfaces' in the uses section, just add it at least once somewhere in the project).

Mattias

Show quoted text 38 lines
> -----Oorspronkelijk bericht----- > Van: Mattias Gaertner > Verzonden: dinsdag 29 oktober 2002 9:30 > Aan: > Onderwerp: Re: [lazarus] 0.8.5 alpha - Plz read carefully > > > On Mon, 28 Oct 2002 21:18:59 +0100 > "Vincent Snijders" wrote: > > > What is the preferred order of units in the uses clause? > > > > 1. uses Interfaces, Forms, MyForm; > > 2. uses Forms, Interfaces, MyForm; > > There is no double identifier and interfaces uses forms, so the > initialization order is fixed. You can write the three units above > in any permutation. > > > > Are you going to update the examples or should I send you patch > > for it? > > I added them already. > I just started a few of them and saw a lot of errors. :( > I must admit, that I never pay much attention to the examples, but > this was too worse. These are not examples for the LCL, these are > bug reports. I will fix them in the next days .. > > > Mattias > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner

Hi all,

The LCL has finally become completely independent of the interfaces. When you update your cvs plz make sure that you use the -dP options, and rebuild clean. Some important files were removed.
Because of the independency an old trick does not work any longer. You MUST now add 'interfaces' to the programs uses statement. The IDE will do this automatically for new applications. For your existing projects, you must do this yourself. Otherwise if you compile an old application with the new LCL you will get the following error on startup:

ERROR: No interface object. Plz check if "interfaces" was added to the programs uses section.

To reflect this backwards incompatibility and because it was time anyway, the lazarus version was increased to 0.8.5 alpha.

A detailed list of changes to 0.8.4a will follow in the next days.

Mattias

Reply by email