[fpc-devel] regarding RTTI unit mail
Dimitri Smits
smitco at telenet.be
Sun Aug 29 14:49:28 CEST 2010
----- "Marco van de Voort" <marcov at stack.nl> schreef:
> In our previous episode, Dani?l Mantione said:
> > > and C++ you can get hell when you change the order of elements,
> > > with interleaved #defines and #ifs (what's possible in Pascal as
> > > well).
> >
> > If the order of elements is enforced, it is not a creative decision,
> thus
> > both programmers can make the same decision without violating each
> others
> > copyright.
>
> This sidestep thread over the EU directive misses the main point.
> Legal or
> not, the question is do we really copy interfaces straight from
> Borland
> source? Afaik not. At least I never did, I always looked up header
> definitions from places as Delphi.about.com
>
I doubt that site is going further then D7 in it's documentation. Is the following enough/too much/dangerous to start from?
A nice tutorial/breakdown with a lot of stuff (read: interfaces definitions) in it can be found here:
http://robstechcorner.blogspot.com/2009/09/so-what-is-rtti-rtti-is-acronym-for-run.html
WARNING: official documentation on the web, from which one can deduce the interface(s) and how to use it. So don't read it if it "taints" you.
http://docwiki.embarcadero.com/VCL/en/Rtti.TRttiProperty
http://docwiki.embarcadero.com/CodeSamples/en/TRttiContextGetMethods_(Delphi)
More information about the fpc-devel
mailing list