PRB: Cannot Access MAPI Under Win32s (128816)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0

This article was previously published under Q128816

SYMPTOMS

MAPI custom controls do not do anything with Visual FoxPro running under Win32s. In addition, no error messages occur 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 must upgrade to Microsoft Windows NT or Microsoft Windows 95.

STATUS

This behavior is by design.

MORE INFORMATION

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

102467 Using MAPI.DLL to Invoke MS Mail from FoxPro for Windows

Also, the Send option on the File menu should work for sending mail messages through MS Mail under WIN32s.

Modification Type:MajorLast Reviewed:7/6/2000
Keywords:kbprb KB128816