32-bit DLL Call From MSMAIL32 to MAPILogon Fails

Last reviewed: September 29, 1997
Article ID: Q130904

The information in this article applies to:
  • Microsoft Windows NT Workstation version 3.5
  • Microsoft Windows NT Server version 3.5
  • Microsoft Mail for PC Networks, versions 3.0 and 3.2

SYMPTOMS

When making a dynamic link library call to MAPILogon from a 32-bit application directly to MAPI32.DLL, the call will fail from a custom command or a custom message in the Windows NT Mail client. The failure occurs in a MAPI error 2 (MAPI_E_FAILURE) which implies a general failure.

CAUSE

This problem occurs when the extension DLL is called while the Mail32 internal lock is on. When the DLL attempts to call out to MAPI, MAPI waits for the internal lock to be released and hangs.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 3.5. A fix to this problem is in development, but has not been regression-tested and may be destabilizing in production environments. Microsoft does not recommend implementing this fix at this time. Contact Microsoft Product Support Services for more information on the availability of this fix.


Additional query words: prodnt
Keywords : ntinterop SMapiCMC kbbug3.50 MailPCMapi kbusage kbbug3.50 kbinterop kbusage
Version : 3.50
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.