Re: IStorage
From: Jochen Kalmbach (nospam-Jochen.Kalmbach_at_holzma.de)
Date: 08/31/04
- Next message: Jochen Kalmbach: "Re: SIP/RTP/RTCP analyzer tool??!!"
- Previous message: Harry Potter: "Re: SIP/RTP/RTCP analyzer tool??!!"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 31 Aug 2004 13:03:49 -0700
Hi Sergey,
> IStorage* pStor = NULL;
> HRESULT hIStor = StgCreateStorageEx(NULL,
> STGM_CREATE|STGM_SHARE_EXCLUSIVE|STGM_READWRITE|STGM_DELETEONRELEASE
> , STGFMT_STORAGE, 0, NULL, 0, IID_IStorage, (void**)&pStor);
>
> but it succeeds only with STGM_SHARE_EXCLUSIVE flag. If I write
> STGM_SHARE_DENY_NONE, function fails. How can I create non-exclusive
> storage?
Try to open it with only "READ" and NOT "READWRITE".
-- Greetings Jochen My blog about Win32 and .NET http://blog.kalmbachnet.de/
- Next message: Jochen Kalmbach: "Re: SIP/RTP/RTCP analyzer tool??!!"
- Previous message: Harry Potter: "Re: SIP/RTP/RTCP analyzer tool??!!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|