[sending to the list; chance to document a bit]

The debugging data is sent to Sapimapi in XML
format via a shared memory segment from otlkcon
DLL. The relevant functions are here...
http://cvs.sourceforge.net/viewcvs.py/otlkcon/otlkcon0/otlkcon_obj2xml.h?view=markup

With no modifications we can dump the contents
of any O_IProp derived object by calling its
Dump() method.  The resulting XML string can
then be printed or sent to Sapimapi to be
displayed.  This includes loose properties and
MAPI table objects.

The print function OTLKCON_LOG_PRINTF() muli-
plexes output to some extent.  It's first
argument is a define for the targets being
targeted. For now this could be any
combination of file, debugger, or shared
memory ( sapimapi ). The file and debugger
targets are on by default, The log file it
outputs too is set by a registry entry in the
'otlkcon.reg' file. Shared Memory logging is
off by default in that registry file.
[/documentation]

Luke's big question, I believe, is "where and
when does he need the information?".  If he
needs the properties *before* MS transport
provider but *after* MS mstore provider we
can stub out Otlkcon's transport related
interfaces and register the the DLL as a
transport provider for the MS mstore.  But I
have a hunch that this will only have limited
usefulness since much of the managling of
data is being done by the the MS transport
provider.  I'd vote for this approach,
mainly because I can help a bit there.

Otherwise wrapping the MS transport DLL
( I don't even know it's name ) would be
the most accurate approach.  You can
filter all MAPI calls from that DLL and
use otlkcon to convert and print the relevant
MAPI objects.

Sorry if I am repeating what you guys have
already covered.

-
Kervin



-
Kervin


------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ otlkcon-devel mailing list otlkcon-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/otlkcon-devel

Reply via email to