[DUG] Where is TypeInfo?

Steve Peacocke steve.peacocke at gmail.com
Mon Jul 2 11:51:46 NZST 2007


Thanks Miles.

It's Monday!

Steve

On 02/07/07, Myles Penlington <myles at ams.co.nz> wrote:
> Steve, get a bigger screen or glasses (just for now). Or have you been
> watching the Americas cup?
>
> No "e" in the typinfo spelling!! Ie.typinfo.pas
>
>
> Myles.
>
> -----Original Message-----
> From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
> On Behalf Of Steve Peacocke
> Sent: Monday, 2 July 2007 11:45
> To: NZ Borland Developers Group - Delphi List
> Subject: Re: [DUG] Where is TypeInfo?
>
> Strangly, Explorer's search will not find the file named
> "typeinfo.pas" even when asked to look in "..\win32\rtl\common\"
>
> Steve
>
> On 02/07/07, Steve Peacocke <steve.peacocke at gmail.com> wrote:
> > Thanks nick. It's there on mine too.
> >
> > I do wonder why Microsoft's Explorer would not find the file when
> > "Search subfolders" is switched on - even starting the search from
> > ..\source\
> >
> > Thanks.
> >
> > Steve
> >
> > On 02/07/07, Nick <nick at salehoo.com> wrote:
> > > For me,
> > > delphi 2006\source\win32\rtl\common\Typinfo.pas
> > >
> > >
> > > Steve Peacocke wrote:
> > > >> There is also the other unit TypInfo
> > > >
> > > > Where?
> > > >
> > > > Delphi can't find it - Searching everything under "\Program
> Files\"
> > > > does not fund the file. Can someone please let me know where it's
> > > > supposed to reside? Thanks.
> > > >
> > > > Steve
> > > >
> > > > On 02/07/07, Nick <nick at salehoo.com> wrote:
> > > >> The system unit contains 'typeinfo'
> > > >> There is also the other unit TypInfo
> > > >> Which you use when doing something similar to
> > > >>  getEnumName(typeInfo(TReqStatus), Ord(s))
> > > >>
> > > >> Cheers
> > > >> Nick
> > > >>
> > > >>
> > > >> Steve Peacocke wrote:
> > > >> > Good Morning All,
> > > >> >
> > > >> > Re: Delphi 2007 and missing TypeInfo.dcu
> > > >> >
> > > >> > I'm converting some code from using strings - and therefore
> litterally
> > > >> > hundreds upon hundreds of lines of ELSE IF - into using enums
> so case
> > > >> > statements can be used. I am particularly wanting to use
> > > >> > GetEnumName().
> > > >> >
> > > >> > But I'm stumped at the first step. If I place TypeInfo in my
> uses
> > > >> > statement, Delphi 2007 tells me that ..
> > > >> >
> > > >> > [DCC Error] main.pas(7): F1026 File not found: 'TypeInfo.dcu'
> > > >> >
> > > >> > A search of everything below "..\Program Files\" turns up
> nothing that
> > > >> > even mentions TypeInfo.
> > > >> >
> > > >> > What gives here? I know I used to just add TypeInfo into the
> uses
> > > >> > statement in Delphi 7.
> > > >> >
> > > >> > Can anyone please shed some light on this? Thanks.
> > > >> >
> > > >> > Steve
> > > >> >
> > > >> _______________________________________________
> > > >> NZ Borland Developers Group - Delphi mailing list
> > > >> Post: delphi at delphi.org.nz
> > > >> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> > > >> Unsubscribe: send an email to delphi-request at delphi.org.nz with
> > > >> Subject: unsubscribe
> > > >>
> > > > _______________________________________________
> > > > NZ Borland Developers Group - Delphi mailing list
> > > > Post: delphi at delphi.org.nz
> > > > Admin: http://delphi.org.nz/mailman/listinfo/delphi
> > > > Unsubscribe: send an email to delphi-request at delphi.org.nz with
> > > > Subject: unsubscribe
> > > >
> > > _______________________________________________
> > > NZ Borland Developers Group - Delphi mailing list
> > > Post: delphi at delphi.org.nz
> > > Admin: http://delphi.org.nz/mailman/listinfo/delphi
> > > Unsubscribe: send an email to delphi-request at delphi.org.nz with
> Subject: unsubscribe
> > >
> >
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
> Attention:
> This communication is confidential and may be legally privileged.  If you are not the intended recipient, please do not use, disclose, copy or distribute it, other than to return it to us with your confirmation that it has been deleted from your system.
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>


-- 
Steve Peacocke
http://stevepeacocke.blogspot.com/


More information about the Delphi mailing list