Re:Class Member Variables
We have had this problem with BCB 1, with components written in house. It
shows up esp. when the project that uses the component was open, when we
rebuilt the component library to update changes to our components. Those
changes wouldn't show up in the program ...SOMETIMES... We would get errors
exactly as you described when we tried to access new properties or methods.
Solution... Sometimes we had to restore from a backup. We for the life of
us, could not work out where the project stored the old library file. If you
opened a new project, then everything was up to date; reopent the old
project; and the component was back in the dark ages. The worst thing was
that often the new properties would show up in the object inspector, but the
run time version of the component was pre-rebuild (for that project only!!!)
Weird... I hope that we don't run into it with BCB 3, of which we are
currently moving to, but it doesn't sound good.
Wayne Merry
wme...@nospam.com (replace 'nospam' with 'bigpond')
Quote
Bill Wright wrote in message <79o7hp$3...@forums.borland.com>...
>We seem to be running into a rather weird problem on a large project that
>was created with Builder 3.0 (patch applied).
>In a number of cases member class variables are not showing up if you try
to
>inspect or evaluate them. When you try, you get a message that says member
>variable not defined.
>What's odd is that it seems random. If I have 6 member variables in a
>class, maybe two or three will report this message, and the others can be
>inspected just fine.
>We thought at first it was only happening with character variables, but
>today we had it happen on some integer values.
>We've tried deleting the .tds file and all the individual object files and
>rebuilding the project, but this problem still occurs.
>Has anyone run into this???