Re: Delphi.NET
- From: Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx>
- Date: Thu, 28 Jun 2007 20:15:02 -0400
Hans-Peter Diettrich wrote:
Jamie wrote:yes that's correct, when using dynamic system strings you get problems like that because they came out well after the Object model was in use.
Object type wasn't broken, people just didn't know how to use it.
Inherited dynamic elements are not properly initialized/finalized.
type
O1 = object
s1: string;
end;
O2 = object(O1)
s2: string;
end;
For an instance of O2, s2 is initialized and finalized, but not s1 nor any other inherited elements.
DoDi
if you look around, there are 2 functions used to initiation and un-initiate classes in objects.
the string model is a System Class. Objects are not classes.
As I said before, when used properly they work.
--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5
.
- References:
- Delphi.NET
- From: Daniel Hobson
- Re: Delphi.NET
- From: Tom de Neef
- Re: Delphi.NET
- From: Daniel Hobson
- Re: Delphi.NET
- From: Hans-Peter Diettrich
- Re: Delphi.NET
- From: Rob Kennedy
- Re: Delphi.NET
- From: Hans-Peter Diettrich
- Re: Delphi.NET
- From: Jamie
- Re: Delphi.NET
- From: Hans-Peter Diettrich
- Delphi.NET
- Prev by Date: Re: TWebbrowser plugin support
- Next by Date: Re: Delphi.NET
- Previous by thread: Re: Delphi.NET
- Next by thread: Re: Delphi.NET
- Index(es):
Relevant Pages
|