|
Posted by Tanuj Gupta on June 29, 2006, 1:35 pm
Please log in for more thread options Hi,
Yes, you are right!
"The MSG IFilter in WDS does not use MAPI".
So as an answer to your question, in very short i'll say that for parsing of
MSG files, the MSG filter used in WDS actually treats the MSG file as a
compound document (i.e. a structured storage document) and parses the file
using "Storages & Streams".
I mean the MSG file has compound file format. So it can virtually be
represented in a directory structure where: the "Storages" are like the
"folders" and the "Streams under them are like the "files".
Every storage can have some storages and streams as its children. And the at
the leaf node there is a stream. (that is the actual data in the file).
For implementing storages and streams, there are interfaces you can use like
"IStorage" & "IStream".
Hope this helps. :)
Cheers!!
Tanuj
"wzhao2000@gmail.com" wrote:
> We want to build some library to parse MSG files without using MAPI.
> But so far we could not find a solution...
>
> It seems the MSGFilter for WDS does not depend on MAPI. I created a
> IFilter client and called the IFilter Init(), GetChunk(), ... methods,
> MAPI library was not loaded during the whole process. Does anyone know
> if MsgFilter uses some internal APIs for this (a.k.a., parsing MSG
> files) ? If not, how is the compressed RTF body handled then?
>
> Thanks!
>
>
|