PRB: Cannot Access MAPI Under Win32s

Last reviewed: October 18, 1996
Article ID: Q128816
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SYMPTOMS

MAPI custom controls do not do anything with Visual FoxPro running under Win32s. In addition, no error messages are displayed when you use the MAPI custom controls.

CAUSE

Due to a missing thunking layer between 32-bit applications and the 16-bit MAPI .DLLs, FoxPro, which is a 32-bit application, cannot communicate with the MAPI OLE custom controls under Win32s.

RESOLUTION

If you would like to use the MAPI custom controls, you will need to upgrade to Windows NT or Windows 95.

STATUS

This behavior is by design.

MORE INFORMATION

For more information about WIN32s, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q120901
   TITLE     : Installing WIN32s in Windows and Windows for Workgroups

As an alternative to using MAPI Controls, use FOXTOOLS.FLL and MAPI calls to accomplish your mail sending needs. For more information about this, please see the following article in the Microsoft Knowledge Base:

    ARTICLE-ID: Q102467
    TITLE     : Using MAPI.DLL to Invoke MS Mail from FoxPro for Windows

As an additional note, the SEND option off the FILE menu pad should work for sending mail messages through MS Mail under WIN32s also.

As an additional note, the Send command on the File menu should work for sending mail messages through MS Mail under WIN32s.


Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral


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: October 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.