olemsg32 module used in win32com exchange server example?

Colin J. Williams cjw at connection.com
Sun Jan 23 08:03:17 EST 2000


This posting gives the MS attitude on the MAPI dll.

http://support.microsoft.com/support/kb/articles/Q221/8/38.ASP

Colin W.

Bill Tutt wrote:
> 
> > From: Gordon McMillan [mailto:gmcm at hypernet.com]
> > Sent: Friday, January 21, 2000 8:16 AM
> > To: aahz at netcom.com; python-list at python.org
> > Subject: Re: olemsg32 module used in win32com exchange server example?
> >
> >
> > Aahz wrote:
> > > Grant Edwards <grant at nowhere.> wrote:
> > > >In article <38863DB3.7FAEC820 at callware.com>, Ivan Van
> > Laningham wrote:
> > > >>
> > > >>I suspect that is true, but there's a gotcha.  Unless I'm
> > wrong, both
> > > >>NetScape Mail and Outlook use MAPI dll's, but they expect
> > different
> > > >>functions to be found there.  So, when I want to use
> > Outlook to retrieve
> > > >>mail, I can configure everything else correctly but I
> > have to change the
> > > >>MAPI.DLL to the one the Outlook expects or it barfs.
> > Then put it back
> > > >>when I want to use NetScape. ...
> > > >
> > > ><Boggle>
> > >
> > > It's even worse than that.  AFAIK, NT *still* only loads
> > one copy of a
> > > DLL, so that even if you have DLLs in two different
> > directories, it is
> > > impossible simultaneously to run programs that use a
> > same-named DLL if
> > > they need even different versions.
> >
> > Wrong about that. Though 2 different versions of a mapi dll
> > loaded at the same time might yield trouble, it's not because
> > you can't load them. I do it all the time with (different)
> > python15.dlls.
> >
> 
> Esp. wrong about that with Windows 2000 and Windows 98.
> Win2k and Win98 added features so that you could determine
> which specific DLL (even if its a DLL you only create via CoCreateInstance
> (aka COM object))
> is loaded for any given application.
> 
> See the following URLs for more information:
> http://msdn.microsoft.com/library/techart/sidebyside.htm
> http://msdn.microsoft.com/library/techart/dlldanger1.htm
> 
> Bill





More information about the Python-list mailing list