Einzelnen Beitrag anzeigen

nuclearping

Registriert seit: 7. Jun 2008
708 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#3

AW: Get font name stored in stream

  Alt 14. Sep 2014, 11:23
Can you be more detailed what you mean or try to achieve?

Because getting some "file information" stored in a stream is basically the same like getting information from an external file. The only difference is that you need to "locate" and "extract" the file from the stream.

So did you create the stream yourself? Or is it some unknown data format? Because if you created the stream yourself you should know the properties (like position and size) of the files / data you store?

Or do you mean how to "read" from a TMemoryStream or TFileStream ? If yes, then look up TStream.Read .
  Mit Zitat antworten Zitat