E
Eric
At the end of this thread it was mentioned that calling
"LoadLibrary("mapi32.dll")" shouldn't be a problem from within an
add-in because Outlook always had it loaded by that time.
Now I'm running into a problem with this stupid "Internet Email Only"
mode. In this mode Outlook doesn't load mapi32.dll, or msmapi32.dll
(which isn't even installed in this mode), or anything MAPI related.
So in this case it seems that I'll have to load the DLL myself, from
my add-in, and take care of initialization and log-in. I haven't
tested this yet, that is my next step, but I'm guessing I wouln't be
able to access the MAPIOBJECT properties anymore without doing
MAPIInitilize(), etc, if they even exist at all in this mode.
Since Outlook doesn't appear to use MAPI at all in this mode, I could
no longer go under the theory that my COM add-in should always be able
to work with MAPI. In the other mode everything seemed robust because
I was only using the same function calls that Outlook itself was
using, but now my add-in might be the first thing to touch the MAPI
sub-system, and therefor be the first thing to break-down.
Has anyone had any experience with this issue? I don't want to
require users to switch to workgroup mode because that requires the
Outlook CD (among other reasons) and most users can never locate the
CD.
"LoadLibrary("mapi32.dll")" shouldn't be a problem from within an
add-in because Outlook always had it loaded by that time.
Now I'm running into a problem with this stupid "Internet Email Only"
mode. In this mode Outlook doesn't load mapi32.dll, or msmapi32.dll
(which isn't even installed in this mode), or anything MAPI related.
So in this case it seems that I'll have to load the DLL myself, from
my add-in, and take care of initialization and log-in. I haven't
tested this yet, that is my next step, but I'm guessing I wouln't be
able to access the MAPIOBJECT properties anymore without doing
MAPIInitilize(), etc, if they even exist at all in this mode.
Since Outlook doesn't appear to use MAPI at all in this mode, I could
no longer go under the theory that my COM add-in should always be able
to work with MAPI. In the other mode everything seemed robust because
I was only using the same function calls that Outlook itself was
using, but now my add-in might be the first thing to touch the MAPI
sub-system, and therefor be the first thing to break-down.
Has anyone had any experience with this issue? I don't want to
require users to switch to workgroup mode because that requires the
Outlook CD (among other reasons) and most users can never locate the
CD.