 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David Kroll Guest
|
Posted: Mon Nov 03, 2003 4:00 pm Post subject: File data in a component |
|
|
Hello all,
I have a custom class that gets run through stream.writecomponent before
getting sent to the server. This class holds a file attachment.
Originally, I had a published property called FileData of type string. I
would convert the file to string, but going through stream.writecomponent
took a long time for large files. I thought instead that I could make the
published property a TMemoryStream, but when that passes through
stream.writecomponent, the stream comes out nil. I need some suggestions on
how to make this work.
Thanks,
David
|
|
| Back to top |
|
 |
|
|
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
|
|