在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
var inStream,outStream:TMemoryStream; begin inStream:=TMemoryStream.Create; outStream:=TMemoryStream.Create; try inStream.WriteComponent(self); inStream.Position:=0; ObjectBinaryToText(inStream,outStream); outStream.Position:=0; outStream.SaveToFile('c.txt'); finally FreeAndNil(inStream); FreeAndNil(outStream); end; //WriteComponentResFile('c.res',self); end; 读取,反过来就是了,不多说。 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论