Here's the situation:
I'm developing in VC++1.52.
I have successfully created the following structured storage:
"Original" - Sub Storage
"OriginalStream" - Stream
" Archive" - Sub Storage
" Loaded" - Sub Storage
I can see that my storage structure exists by using the editor in VC++ 5.0.
When I try to open the "Original Stream" with the OpenStream function, I get an INVALID_PARAMETER error.
By looking at my structure is there an obvious problem with my design? or Is there a problem with my call and if so what?
LastError = AsciiStorage.pIstorage->OpenStream("ORIGINALSTREAM",NULL,STGM_READWRITE | STGM_SHARE_EXCLUSIVE,0,&AsciiStream.pIStream);