Skip to main content
2 votes
1 answer
75 views

I have read the MSDN documentation about ILockBytes::SetSize(), but it does not answer precisely whether my implementation of SetSize() should preserve existing data. For example, if the current ...
LUN's user avatar
  • 359
0 votes
0 answers
118 views

I have implemented a drag-and-drop receiver (C++, WINAPI). It allows me to get a storage with a dragged object (OLE IStorage object). I need to "convert" it to a byte array (something like a ...
LUN's user avatar
  • 359
0 votes
1 answer
130 views

I have got a storage, created from MS Outlook letter dragged to my window. How can I save it's (storage) contents as a file in a single file ? I have read MSDN about manipulations with storages - ...
LUN's user avatar
  • 359
0 votes
0 answers
157 views

I'm trying to change the keyword property (under the Summary Information property set) of a folder. I am aware that I can accomplish this using the StgCreatePropSetStg() function, which takes an ...
Eliazar's user avatar
  • 390
1 vote
2 answers
294 views

When I run the prog below, the result value of the stgOpenStorage is STG_E_SHAREVIOLATION. How should I close the IStorage to get it unlocked? procedure TForm1.btnSaveClick(Sender: TObject); var ...
SOLID Developper's user avatar
0 votes
1 answer
174 views

I need to work with IStorage and IStream interfaces in Delphi 7. I need the name list of storages and streams in IStorage instances. If I try to collect them like this: procedure TStorageUtility....
User007's user avatar
  • 187
0 votes
1 answer
286 views

I'm reading and writing Structured Storage files from C#. To open the file i call IStorage StorageInterface; int result = StgOpenStorage(filename, null, STGM.READWRITE | STGM.SHARE_EXCLUSIVE, IntPtr....
John Mott's user avatar
  • 119
2 votes
1 answer
384 views

I am reading a structured storage file. And trying to get all child elements of the root structure. But I am getting access violation exception while doing so. Here is the native methods, [ComImport]...
fhnaseer's user avatar
  • 7,317
0 votes
1 answer
726 views

I've used SHGetDesktopFolder() to get a PIDL and then walked down it's contents using IShellFolder. I now have a particular PIDL referencing a filesystem location, and I can use BindToStorage and ...
EB.'s user avatar
  • 3,601
1 vote
1 answer
749 views

I am trying to convert EML in to MSG file. I create mapi object IMessage on IStorage object; Assign class-id CLSID_Message to IStorage object; Parse EML file, read properties and assign them to mapi ...
user1174790's user avatar
0 votes
1 answer
293 views

I'm trying to create pst msg store using IMAPISession method: pses_->OpenMsgStore(0, prows->aRow[0].lpProps[1].Value.bin.cb, (LPENTRYID)prows->aRow[0].lpProps[1].Value.bin.lpb, NULL, ...
zabulus's user avatar
  • 2,543
1 vote
1 answer
81 views

I am developing a firefox extension which reads and writes to a sqlite database. I ran an async query to fetch 20 rows from a database, and the callback function which handles the receipt of data gets ...
Heshan Perera's user avatar
3 votes
0 answers
563 views

I'm implementing a property handler for a structured storage file and would like to initialize it with IInitializeWithStream given its benefits of isolation, handling slow transfer, etc. But I see no ...
Heath's user avatar
  • 3,406
0 votes
1 answer
289 views

I'm a C++ developer wrestling with updating an application that had made extensive use of the IStorage interface to open pre-Office 2007 documents from in-memory storage (via ILockBytes). If you are ...
John S's user avatar
  • 1
3 votes
5 answers
3k views

I'm trying to embed a PDF file into a Word document using the OLE technique described here: https://learn.microsoft.com/en-us/archive/blogs/brian_jones/embedding-any-file-type-like-pdf-in-an-open-xml-...
Bernard Darnton's user avatar

15 30 50 per page