[fpc-devel] SetPropValue case sensitive

Sergei Gorelkin sergei_gorelkin at mail.ru
Tue May 5 19:44:18 CEST 2009

Leonardo M. Ramé wrote:
> I found a difference between Delphi's SetPropValue function with its counterpart in FPC. In Delphi, this function is case insensitive, while in fpc it is case sensitive.
> Am I correct?
The property name comparison (ending up in GetPropInfo(TypeInfo: 
PTypeInfo; const PropName: string),
rtl/objpas/typinfo.pp line 571) is done case-insensitive, unless there 
is a bug somewhere.
Can you provide code snippet illustrating the difference?


More information about the fpc-devel mailing list