![]() ![]() RttiClassType := TRttiInstanceType(Rtti.GetType(Data.ClassInfo)) įor i := 0 to High(RttiClassType.GetFields) do Procedure TForm2.Button1Click(Sender: TObject) To test the code please add Rtti unit to the uses declaration type The following code works well in D2010, but shows the message "Error" in XE2/XE3ĭoes anyone have any clue? This will totally break all our software data serialization implementation ![]() I found that the RTTI information for a TBytes variable inside a class is never generated. I recently migrated from D2010 to DXE2 and found a showstopper bug (Or feature?) in XE2 and XE3 (Tested in my friend XE3) related to RTTI generation for TBytes fields inside classes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |