[lazarus] Problem
Michael A. Hess
mhess at miraclec.com
Wed May 5 12:39:25 EDT 1999
Shane Miller wrote:
>
> You are correct that if we create a fmEditor value as we were in
> TEditor and assign it to self, then everytime we create another one,
> fmeditor will lose it's prior value and be assigned something new.
> Here's the issue though, if you try to access CAPTION like
> Writeln(Caption) then you get a sigsegv or when you try to access ANY
> value through SELF.
>
> Perhaps it is an issue with the compiler. I commented out all the
> fmeditor stuff and now none of it works when I try to use SELF. It
> simply crashes.....
Ouch! Yeah I would have to say then that this is definitly a compiler
issue.
I see that you guys don't set either {$mode delphi} or {$mode objfpc} in
your code. Are you using -s2 or -sd in your compiler command line?
In my opinion it would be better to set this as a mode switch in the
source so that a user doesn't have to modify their ppc386.cfg. That is
just my opinion. :-)
Talk at you later,
--
==== Programming my first best destiny! ====
Michael A. Hess Miracle Concepts, Inc.
mhess at miraclec.com http://www.miraclec.com
More information about the Lazarus
mailing list