PDA

View Full Version : ISource + data accumulation


Anand
08-01-2003, 03:43 AM
Hi All,
I want to collect the data from the file to ISource using ISOURCEUTIL_SourceFromMemory(). Say the file size is 2 MB. I am readying 200 kb everytime from the file and trying to collect the data into ISource. But in the second pass, the data collected in the first pass will be lost. Is there a way to accumulate data which i am collecting from file or socket to ISource.
Since ISOURCEUTIL_SourceFromMemory() makes a new ISource Interface object that gets data from a memory block. So, whatever I have collected earlier will be lost. Is there a way to collect the entire 2 MB data into ISource without copying as a whole.