[DUG] Oddity with uses clause in D2006
Rohit Gupta
rohit at cfl.co.nz
Wed Jul 12 13:51:14 NZST 2006
Except thsi problem has always been there. Not the highlighting but code
completion being unable to find what you know is there. You type it
manually and then it can find it.
From: "John Bird" <johnkbird at paradise.net.nz>
To: "'NZ Borland Developers Group - Delphi List'" <delphi at ns3.123.co.nz>
Subject: RE: [DUG] Oddity with uses clause in D2006
Date sent: Wed, 12 Jul 2006 13:17:56 +1200
Organization: John Bird Consulting
Send reply to: johnkbird at paradise.net.nz,
NZ Borland Developers Group - Delphi List <delphi at ns3.123.co.nz>
<mailto:delphi-request at ns3.123.co.nz?subject=unsubscribe>
<mailto:delphi-request at ns3.123.co.nz?subject=subscribe>
[ Double-click this line for list subscription options ]
Re DPR file missing units:
I am sure that is not it....I have seen it underline references in uses
clause like Sysutils or Classes and produce error messages like "unable to
resolve reference to TButton" - i.e. it is democratic and complains not just
about my source, the Borland stuff gets rasberried at times too...
And I have checked the dpr (Project/View Source) and the local unit uses
clause to make sure that something obvious is not missing. I have also been
into Project/Options to check for odd settings there. I will try the
Tools/Options next time and see what that does...
I think it as a small comfort and amusement actually.....whenever I get
something simple and highly visible in one of my programs that refuses to
work and have a logical reason for not working I remember the code insight
and think to myself "I am not the only one to cock it up in a highly visible
manner".....fortunately most of my errors don't result in squiggly red lines
all over the screen. :)
This problem actually doesn't bother me at all seriously. The one of the
ever increasing use of memory by the IDE until shut down and restarted does
however....I have to watch the system and exit BDS before the system gets so
short of memory that quitting BDS sometimes doesn't even work or takes
forever and a day.
Seriously though if these are the worst problems then its not so bad.
Anyone from Borland/Devco reading this thread?
John
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Rohit Gupta
Sent: Wednesday, 12 July 2006 12:22 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Oddity with uses clause in D2006
My assumption is that these units are not listed in your dpr file, Hence
the
code insight cant find them.
From: "Phil Scadden" <p.scadden at gns.cri.nz>
Organization: Geological and Nuclear Sciences
To: delphi at ns3.123.co.nz
Date sent: Wed, 12 Jul 2006 11:31:10 +1200
Priority: normal
Subject: [DUG] Oddity with uses clause in D2006
Send reply to: NZ Borland Developers Group - Delphi List
<delphi at ns3.123.co.nz>
<mailto:delphi-request at ns3.123.co.nz?subject=unsubscribe>
<mailto:delphi-request at ns3.123.co.nz?subject=subscribe>
[ Double-click this line for list subscription options ]
fairly trivial but I am finding certain units are underlined in red my uses
clause, saying it cant resolve them. In fact, some of them are part of the
project and the compiler has no trouble at all. However code insight cant do
anything with classes in these units. Anyone else see this? Any idea of
solution? I cant see why one unit is seen but another in identical location
is not.
----------------------------------------------------------
Phil Scadden, Senior Scientist.
Institute of Geological and Nuclear Sciences
764 Cumberland St, Private Bag 1930, Dunedin, New Zealand
Ph +64 3 4799663, fax +64 3 477 5232
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email rohit at cfl.co.nz or r.gupta at xtra.co.nz
======================================================================
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz http://ns3.123.co.nz/mailman/listinfo/delphi
__________ NOD32 1.1461 (20060329) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email rohit at cfl.co.nz or r.gupta at xtra.co.nz
======================================================================
More information about the Delphi
mailing list