Re: Delphi seems to have gone nuts...
From: Raptor (bogus_at_none.com)
Date: 03/18/05
- Previous message: rochi: "Runtime error 217"
- In reply to: Rob Kennedy: "Re: Delphi seems to have gone nuts..."
- Next in thread: Rob Kennedy: "Re: Delphi seems to have gone nuts..."
- Reply: Rob Kennedy: "Re: Delphi seems to have gone nuts..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 17 Mar 2005 15:41:36 -0800
Rob Kennedy <me3@privacy.net> wrote in message
news:39rkv6F644sfqU1@individual.net...
> Raptor wrote:
> > This one has me stumped. I'm going along fine when I start getting
> > odd errors from my code. It's seeing some procedures and functions in
> > another unit just fine, but not others just adjacent in both the code
> > and interface declarations.
> >
> > It's as if the "old" procedures work fine, but adding anything "new"
> > makes things bomb. All I can do is drop back to a previous revision
> > and start adding pieces, as I am unable to find a cause for this
> > behavior.
>
> It seems as though the unit you're editing isn't really being
> recompiled.
Yes. As my other posts noted, there seem to somehow be multiple copies at
work, one I'm editing and one which is being compiled.
> Make sure the unit either appears in your current project or
> that its directory is on your project's search path.
I avoid the use of paths like the plague. I simply clone a new folder for
each subsequent rev, and ALL of my working source code is in that folder. I
never, ever, touch the paths lines or try to use code in various places. My
brief excursions into that were very messy, and persuaded me to use another
approach.
> Otherwise, the
> compiler is always just using the existing DCU file, and any changes you
> make to the PAS file are simply ignored.
Gotcha.
As I mentioned, the strange thing is that when I would get an "undeclared
identifier" I would do a Find in Files search, and both the modified and
unmodified files would show the same path. Even though I never mess with
paths, when two uWhatever files were opened in the editor by the search, the
paths were the first thing I examined in the results pane.
I still don't know what's going on. Not the first time.
R
- Previous message: rochi: "Runtime error 217"
- In reply to: Rob Kennedy: "Re: Delphi seems to have gone nuts..."
- Next in thread: Rob Kennedy: "Re: Delphi seems to have gone nuts..."
- Reply: Rob Kennedy: "Re: Delphi seems to have gone nuts..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|