Answer of Steve included in this mail, while missing in list !
1:
I need to know before compiling the source if interface RTTI is available.
I would like to use a switch in the source:
{$ifdef HASNEWINTERFACERTTI}
....
{$endif}
2:
Well ... this is the FPC/Delphi structure at the moment:
TIntfMethodEntryTail =
{$ifndef FPC_REQUIRES_PROPER_ALIGNMENT}
packed
{$endif}
record
{$ifdef FPC}
Version: Byte; // always 3 at the moment
{$else} // Delphi
Kind: TMethodKind;
{$endif}
CC: TCallingConvention;
{$ifdef FPC}
ResultType: PTypeInfo;
StackSize: Word;
{$endif}
ParamCount: Byte;
{Params: array[0..ParamCount - 1] of TVmtMethodParam;}
end;Alfred.
