how can i get the record field value? for example,
sorry , my Description is not clear, i have a big record like this
type
myRec=record
a:byte;
c:single;
//// a lot of fields
end;
var
nowmyrec:myrec;
tmystr:TMemoryStream;
implementation
procedure TForm1.FormCreate(Sender: TObject);
begin
tmystr:tmemerystream.create;
tmystr.LoadFromFile(ExtractFilePath(Application.exename)+'1.data');
tmstr.Position:=0;
tmstr.readbuffer(nowmyRec,sizeof(myRec));
end;
if fields of nowmyRec is 1000, how can i get the dll of field value to 1000 form.edits , please donot use record point ,i want use rtti of record,but delphi2007 donot support that. if i donot use delphi2010 ,do you have other ways?
Blockquote