BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TStream containing other TStream objects

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
Samuel Genheden
Guest





PostPosted: Sat Feb 14, 2004 2:43 pm    Post subject: TStream containing other TStream objects Reply with quote



Hey!

I'm creating an application in where I invented a new file format. The files
are created with a TFileStream object. Now I would like to save a bmp file
in the new file format.

I've seen that TBitmap has a procedure SaveToStream, that I can use when to
save the file. But how to restore the bitmap when loading the file? If I use
LoadFromStream it will try to load the entire file, not just the bitmap...

Please help me!


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.