[fpc-devel] {$M+} and forward declarations do not work

Peter Vreman peter at freepascal.org
Tue Dec 20 09:24:38 CET 2005


>
> Here is the command line version of my app.
>
>    lCount  := GetPropList(O.ClassInfo, lPropFilter, nil, false);

Here is the small difference. I used TypeInfo() that returns a direct
reference to the RTTI. Your code uses ClassInfo that will load the pointer
from the Class structure. The pointer in this class structure is nil.






More information about the fpc-devel mailing list