Interesting point. But all I can say is that after I use the "send to..." function in the mentioned applications, then my MapiLogon method
(declared as: function MAPILogon(ulUIParam: Cardinal; lpszProfileName: LPSTR; lpszPassword: LPSTR; flFlags: FLAGS; ulReserved: Cardinal; lplhSession: PLHANDLE): Cardinal; stdcall
is called. I don't have the knowledge whether this means that the MapiLonEx function could still be called as well or not.
There are other applications where the "send to" function does not result in calling my MapiLogon method but so far there are no problems in these cases.
I use the
unit Mapi that is prefaced with the comment "Simple
MAPI Interface
Unit" and therefore I currently couldn't check whether MapiLogonEx is called.