Peter Vreman wrote:
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.
So is this a bug in GetPropList? Why does it work when I move the $M
away from the forward declaration to the class declaration?
Regards,
- Graeme -
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel