[fpc-devel] Differences between fpc and Delphi regarding COM interfaces declarations

2007-02-03 Thread Luiz Americo Pereira Camara
While porting some Delphi code i found some differences in the declarations of COM interfaces. 1) In IEnumFORMATETC.Next(Celt:ULong;Out Rgelt:FormatEtc;Out pceltFetched:ULong):HResult; Delphi expects pceltFetched to be a PInteger win32 documentation: *HRESULT Next( ULONG*/ celt/*,* * FORMA

Re: [fpc-devel] Differences between fpc and Delphi regarding COM interfaces declarations

2007-02-03 Thread Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote: While porting some Delphi code i found some differences in the declarations of COM interfaces. 1) In IEnumFORMATETC.Next(Celt:ULong;Out Rgelt:FormatEtc;Out pceltFetched:ULong):HResult; Delphi expects pceltFetched to be a PInteger win32 documentation: *H

[fpc-devel] Generics

2007-02-03 Thread ik
Hi All, I'm looking for a guide (for people that have slow learning curves like me ;)) regarding understanding generics, and the ability to start using them. Thanks, Ido -- http://ik.homelinux.org/ ___ fpc-devel maillist - fpc-devel@lists.freepasca

[fpc-devel] strings: a proposeal

2007-02-03 Thread peter green
currently there is some demand for a fast widestring type on windows and i suspect there will be requirements for more string types in the future. So i make a proposal for a new syntax that will allow string types to be created easilly in libraries or user code. my proposal is a statement like

Re: [fpc-devel] strings: a proposeal

2007-02-03 Thread Daniël Mantione
Op Sun, 4 Feb 2007, schreef peter green: > my proposal is a statement like > > type > tmystring=string(elementtype,allocator,deallocator,copier,uniquer); And how should you generate debug information for such a user defined string? Daniël___ fpc-

RE: [fpc-devel] strings: a proposeal

2007-02-03 Thread peter green
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Daniël > Mantione > Sent: 04 February 2007 00:09 > To: FPC developers' list > Subject: Re: [fpc-devel] strings: a proposeal > > > > > Op Sun, 4 Feb 2007, schreef peter green: > > > my proposal is a s

Re: [fpc-devel] strings: a proposeal

2007-02-03 Thread Christian Iversen
On Sunday 04 February 2007 01:01, peter green wrote: > currently there is some demand for a fast widestring type on windows and i > suspect there will be requirements for more string types in the future. During the creation of our project, Technetium (www.technetium.dk), we designed a string libr

Re: [fpc-devel] strings: a proposeal

2007-02-03 Thread Martin Schreiber
On Sunday 04 February 2007 01.01, peter green wrote: > currently there is some demand for a fast widestring type on windows and i > suspect there will be requirements for more string types in the future. > > So i make a proposal for a new syntax that will allow string types to be > created easilly

Re: [fpc-devel] strings: a proposeal

2007-02-03 Thread Martin Schreiber
On Sunday 04 February 2007 01.23, peter green wrote: > from a low level perspective such a string is just a pointer to an array > plus some compiler magic just like current ansistrings, debugging tools > shouldn't need to be aware of the magic any more than they need to be aware > of it for curren