[DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
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

RE: [DUG] Where is TypeInfo?

2007-07-01 Thread Judd, Struan \(eCargo\)
Isn't the unit now called "TypInfo"? TTFN, Struan. 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 statemen

RE: [DUG] Where is TypeInfo?

2007-07-01 Thread Myles Penlington
Have another go using "Typinfo", not TypeInfo. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Peacocke Sent: Monday, 2 July 2007 11:15 To: delphi@delphi.org.nz Subject: [DUG] Where is TypeInfo? Good Morning All, Re: Delphi 2007 and missing Type

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Nick
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 s

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
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 <[EMAIL PROTECTED]> wrote: The system unit contains 'typeinfo'

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
On 02/07/07, Judd, Struan (eCargo) <[EMAIL PROTECTED]> wrote: Isn't the unit now called "TypInfo"? Yep - that's the one. Where is it? Steve ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/m

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
On 02/07/07, Myles Penlington <[EMAIL PROTECTED]> wrote: Have another go using "Typinfo", not TypeInfo. M Miles - you should know MUCH better than that. delphi is not case sensitive. (however, I did try it in frustration, but no). thanks anyway. Steve __

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Nick
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

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
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 <[EMAIL PROTECTED]> wrote: For me, delphi 2006\source\win32\rtl\common\Typinfo.p

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
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 <[EMAIL PROTECTED]> wrote: Thanks nick. It's there on mine too. I do wonder why Microsoft's Explorer would not find the file when "Search

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Neven MacEwan
Steve You should have noticed he dropped the 'e' also Myles is spelt with a y You seem to be having char errors Parrot on Pirate 1 shoulder:"Pieces of Nine, Pieces of Nine" Pirate 2: "Whats wrong with him?" Pirate 1: "Parroty Error" On 02/07/07, Myles Penlington <[EMAIL PROTECTED]> wrote: Ha

RE: [DUG] Where is TypeInfo?

2007-07-01 Thread Myles Penlington
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Peacocke Sent: Monday, 2 July 2007 11:45 To: N

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
Yep - JUST noticed that and was starting to send that info to the list. TypInfo.pas Thanks Neven. On 02/07/07, Neven MacEwan <[EMAIL PROTECTED]> wrote: Steve You should have noticed he dropped the 'e' also Myles is spelt with a y You seem to be having char errors Parrot on Pirate 1 shoulder:

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
Thanks Miles. It's Monday! Steve On 02/07/07, Myles Penlington <[EMAIL PROTECTED]> 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: [EMAIL PROTECT

RE: [DUG] Where is TypeInfo?

2007-07-01 Thread karlreynolds
Heh, that one brought a smile. :) Miles doesn't know much better than the advice he gave, but he knows much better than the advice that you think he gave!! Try again - "TypInfo", sic, no "e". Cheers, Carl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of S

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Nick
And now everyone is saying Miles instead of Myles Classic! [EMAIL PROTECTED] wrote: Heh, that one brought a smile. :) Miles doesn't know much better than the advice he gave, but he knows much better than the advice that you think he gave!! Try again - "TypInfo", sic, no "e". Cheers, Carl

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Neven MacEwan
Mind you this is coming from [C][K]arl And now everyone is saying Miles instead of Myles Classic! [EMAIL PROTECTED] wrote: Heh, that one brought a smile. :) Miles doesn't know much better than the advice he gave, but he knows much better than the advice that you think he gave!! Try again - "

RE: [DUG] Where is TypeInfo?

2007-07-01 Thread karlreynolds
Appolloghees for that. Cheers, Qarl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Monday, July 02, 2007 12:18 PM To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Where is TypeInfo? Mind you this is coming from [C][K

Re: [DUG] Where is TypeInfo?

2007-07-01 Thread Steve Peacocke
On 02/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Heh, that one brought a smile. :) Miles doesn't know much better than the advice he gave, but he knows much better than the advice that you think he gave!! Try again - "TypInfo", sic, no "e". Cheers, Carl He he - yes you are right Carl