Re: [fpc-pascal] Error: Illegal qualifier in converting Delphi unit

2010-03-15 Thread Marco van de Voort
In our previous episode, Howard Page-Clark said: > >> result := TranslationTable[Index]^.CharsetID > >> > >> Howard > > No secret - just that fpc requires stricter syntax than Delphi, even in > {$mode Delphi}. The property TranslationTable is an array property > declared as a pointer (PTransla

Re: [fpc-pascal] Error: Illegal qualifier in converting Delphi unit

2010-03-15 Thread Howard Page-Clark
On 14/3/10 11:52, Frank Church wrote: Your suggestion worked - what is the secret? Does the array[0..0 have some relevance here?] On 14 March 2010 23:01, Howard Page-Clark wrote: On 14/3/10 6:11, Frank Church wrote: Hi guys, I am trying to compile the TVersionInfo component by Anders Meland

Re: [fpc-pascal] Error: Illegal qualifier in converting Delphi unit

2010-03-14 Thread Frank Church
Your suggestion worked - what is the secret? Does the array[0..0 have some relevance here?] On 14 March 2010 23:01, Howard Page-Clark wrote: > On 14/3/10 6:11, Frank Church wrote: >> >> Hi guys, >> >> I am trying to compile the TVersionInfo component by Anders Melander >> at http://melander.dk/ar

Re: [fpc-pascal] Error: Illegal qualifier in converting Delphi unit

2010-03-14 Thread Howard Page-Clark
On 14/3/10 6:11, Frank Church wrote: Hi guys, I am trying to compile the TVersionInfo component by Anders Melander at http://melander.dk/articles/versioninfo/. It defines the structure below type TTranslationRec = packed record case Integer of 0: ( LanguageID: WORD;

[fpc-pascal] Error: Illegal qualifier in converting Delphi unit

2010-03-14 Thread Frank Church
Hi guys, I am trying to compile the TVersionInfo component by Anders Melander at http://melander.dk/articles/versioninfo/. It defines the structure below type TTranslationRec = packed record case Integer of 0: ( LanguageID: WORD; CharsetID: WORD); 1: ( Translation