G
gyang
Unregistered / Unconfirmed
GUEST, unregistred user!
如:
var
vStream: TFileStream;
vWriter: TWriter;
vReader: TReader;
vPicture: TPicture;
...
...
begin
...
...
vWriter.WriteString('asdfasdfasdf');
vWriter.WriteInteger(121);
vPicture.LoadFromFile('C:/aaa.jpg');
//如何写 vPicture 中的信息?????
vWriter.WriteString('567567567567');
vWriter.WriteInteger(12);
//
//
//
ShowMessage(vReader.ReaderString);
ShowMessage(IntToStr(vReader.ReaderInteger));
//如何读 流中的信息到 vPicture????
ShowMessage(vReader.ReaderString);
ShowMessage(IntToStr(vReader.ReaderInteger));
...
...
end;
var
vStream: TFileStream;
vWriter: TWriter;
vReader: TReader;
vPicture: TPicture;
...
...
begin
...
...
vWriter.WriteString('asdfasdfasdf');
vWriter.WriteInteger(121);
vPicture.LoadFromFile('C:/aaa.jpg');
//如何写 vPicture 中的信息?????
vWriter.WriteString('567567567567');
vWriter.WriteInteger(12);
//
//
//
ShowMessage(vReader.ReaderString);
ShowMessage(IntToStr(vReader.ReaderInteger));
//如何读 流中的信息到 vPicture????
ShowMessage(vReader.ReaderString);
ShowMessage(IntToStr(vReader.ReaderInteger));
...
...
end;