Re:OLE Messaging (Exchange) : Any help/samples out there?
The OLE Messaging errors are listed on the MSDN CD starting in October 96.
I too use to get the error message you quote below, but found the problem.
In my case, it was because I didn't realize that recipient collections are
ARRAYS, so I was using parens around indexes rather than square brackets.
One I switched from one to the other, voila, it all worked.
I wrote a very simple test applet to make sure I had everything down, and
it worked fine. Unfortunately, for whatever reason, the same code won't
work in a secondary thread (I get an error that CoInitialize wasn't
called).
I can send you my test applet, but I don't have the code with me, and won't
be back in my office until Tuesday.
Russ Chinoy
Systems & Services International <syst...@iafrica.com> wrote in article
<01bc0c49$63c593d0$228d07c4@ssi>...
Quote
> Hi,
> I'm trying to include MAPI capabilities in a D2 program, via a MSExchange
> server. I've build a MDI child front end form. I need to use OLE
messaging
> as SMAPI is too basic (I need to attach a 'Field' object), I can also use
> full MAPI - but that looks very complex. I've been battling with the
> functionality of using OLE messaging, but keep getting 'OLE Messaging'
> errors, e.g. '[OLE/Messaging - [80070057]]'. Does anyone have or know of
> documentation or coding samples of OLE messaging in D2 that I can use as
a
> starting point? Even a breakdown of the errors would help.
> Thanks,
> Wayne
> syst...@iafrica.com