Re: D7 Compiler Bug
From: Rob Kennedy (me3_at_privacy.net)
Date: 09/30/04
- Next message: Martin Harvey (Demon account): "Re: Strange access violations"
- Previous message: Markku Nevalainen: "Re: TQuery and TTable"
- In reply to: Jamie: "Re: D7 Compiler Bug"
- Next in thread: Jamie: "Re: D7 Compiler Bug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 12:36:20 -0500
Jamie wrote:
> not if your dealing with Records.
He's not dealing with records. He's dealing with old-style objects.
> you really should be using shortstrings
> for those events when you move data out to
> memory or file in a while record.
No one said anything about moving anything anywhere. And what's a while
record?
> i use short strings when ever possible for
> speed
You obviously don't use Delphi 5 or later.
> and less dynamic heap fragmentation.
> one's app could get a periodic memory
> error if using lots of dynamic strings that
> are getting reallocated all the time .
> even though over all memory will report
> being sufficient.
> so it maybe a good thing to keep in mind.
OK, let's forget about strings. In Dodi's original example, change the
object's string field to be a dynamic array, an interface reference, a
WideString, or a Variant, and then change the assertion test
accordingly. The assertion will fail. The problem is not limited to strings.
-- Rob
- Next message: Martin Harvey (Demon account): "Re: Strange access violations"
- Previous message: Markku Nevalainen: "Re: TQuery and TTable"
- In reply to: Jamie: "Re: D7 Compiler Bug"
- Next in thread: Jamie: "Re: D7 Compiler Bug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|