Click here to Skip to main content
15,884,099 members
Home / Discussions / COM
   

COM

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder16-Jul-09 3:09
cofounderChris Maunder16-Jul-09 3:09 
PinnedHow to get an answer to your question PinPopular
Chris Maunder16-Jul-09 3:05
cofounderChris Maunder16-Jul-09 3:05 
QuestionWhat remote work tools do you use with your team? Pin
JaleyRowe19-Mar-22 0:51
JaleyRowe19-Mar-22 0:51 
QuestionRe: What remote work tools do you use with your team? Pin
Richard MacCutchan19-Mar-22 2:27
mveRichard MacCutchan19-Mar-22 2:27 
GeneralHow to Wrap OLE Structured Storage Pin
Visual Herbert20-Feb-21 0:42
Visual Herbert20-Feb-21 0:42 
Someone still remembers the COM Compound File Binary format? Microsoft used to store their office files in this format. It is a great format, providing a FAT-like file system within a single file, via storages (directories) and streams (files).

Microsoft's attempts to port Structured Storage technology to .NET were... sloppy, to put it friendly. For instance can you define sector sizes not only of 512 bytes, but also of 4,096 bytes. You can instruct the .NET code to use 4k, but when it doesn't work and you dig into the reference source you'll find, that they accept and comment on the argument, but do not use it. At all.

I created a fully functional wrapper from scratch. It took some weeks to get this one right, but I'm glad to share the heavily documented results with you.

Google Drive: Google Drive[^] (Rev. 4354)

Chapter 4.5 (marginal notes 662 ff.): Structured Storages (byte access only as in the original)
Chapter 4.6 (mn. 1124 ff.): General Structured Storages (added support for strings and all value types)

Let me know what use you make of it. General design reviews are welcome.

If there's a better forum, please let me know. I'm new here (SO refugee).
QuestionWin32 - Use COM object help Pin
Bret Stern8-Jan-21 5:39
Bret Stern8-Jan-21 5:39 
AnswerRe: Win32 - Use COM object help Pin
Richard MacCutchan8-Jan-21 6:30
mveRichard MacCutchan8-Jan-21 6:30 
QuestionHow to get header and footer value in MS Project file format(.mpp) using office interope (C#) Pin
Member 1481839713-Nov-20 5:38
Member 1481839713-Nov-20 5:38 
AnswerRe: How to get header and footer value in MS Project file format(.mpp) using office interope (C#) Pin
Gerry Schmitz13-Nov-20 9:49
mveGerry Schmitz13-Nov-20 9:49 
AnswerRe: How to get header and footer value in MS Project file format(.mpp) using office interope (C#) Pin
Richard MacCutchan13-Nov-20 22:06
mveRichard MacCutchan13-Nov-20 22:06 
Questioninterop Pin
lista25-Apr-19 7:00
lista25-Apr-19 7:00 
QuestionRe: interop Pin
Eddy Vluggen31-Mar-20 14:39
professionalEddy Vluggen31-Mar-20 14:39 
Questionkey match Pin
Member 141404154-Feb-19 23:24
Member 141404154-Feb-19 23:24 
AnswerRe: key match Pin
OriginalGriff4-Feb-19 23:28
mveOriginalGriff4-Feb-19 23:28 
QuestionObservation Pin
Richard Andrew x6415-Dec-18 8:22
professionalRichard Andrew x6415-Dec-18 8:22 
AnswerRe: Observation Pin
Mycroft Holmes5-Feb-19 14:35
professionalMycroft Holmes5-Feb-19 14:35 
QuestionConnect hsajet printer Pin
Member 1119728820-Oct-16 15:42
Member 1119728820-Oct-16 15:42 
AnswerRe: Connect hsajet printer Pin
Richard MacCutchan20-Oct-16 20:47
mveRichard MacCutchan20-Oct-16 20:47 
QuestionRegistration Free Com in Excel Pin
Member 1233692919-Oct-16 0:40
Member 1233692919-Oct-16 0:40 
AnswerRe: Registration Free Com in Excel Pin
Richard Deeming19-Oct-16 2:28
mveRichard Deeming19-Oct-16 2:28 
GeneralRe: Registration Free Com in Excel Pin
Member 1233692919-Oct-16 2:49
Member 1233692919-Oct-16 2:49 
GeneralRe: Registration Free Com in Excel Pin
Richard Deeming19-Oct-16 2:54
mveRichard Deeming19-Oct-16 2:54 
GeneralRe: Registration Free Com in Excel Pin
Member 1233692919-Oct-16 4:18
Member 1233692919-Oct-16 4:18 
GeneralRe: Registration Free Com in Excel Pin
Richard Deeming19-Oct-16 9:21
mveRichard Deeming19-Oct-16 9:21 
GeneralRe: Registration Free Com in Excel Pin
Member 1233692920-Oct-16 0:35
Member 1233692920-Oct-16 0:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.