IStream from a file
-
I need to get a
IStream
interface from a file. Is it possible? I got a functionParseData( IStream* pStream )
. But data is huge and is located in a file. So if I could open a file and get a IStream from it somehow it would be great. But how do it do that ? I think I need a CFile like class that also have the IStream interface to it or something. Anyone got something like that ? /Mathias S. -
I need to get a
IStream
interface from a file. Is it possible? I got a functionParseData( IStream* pStream )
. But data is huge and is located in a file. So if I could open a file and get a IStream from it somehow it would be great. But how do it do that ? I think I need a CFile like class that also have the IStream interface to it or something. Anyone got something like that ? /Mathias S.Something like
::OpenStreamOnFile(...)
? Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!) -
Something like
::OpenStreamOnFile(...)
? Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!) -
How could I have missed that? I been searching like crazy. And after search for the one you gave me I also found SHCreateStreamOnFile that is even better. Thanks ! /Mathias S.
Just be sure to pay attention to the minimum shell version required for
SHCreateStreamOnFile
...! Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!)