Microsoft KB Archive/128816

= PRB: Cannot Access MAPI Under Win32s =

Article ID: 128816

Article Last Modified on 7/6/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



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.

Additional query words: VFoxWin

Keywords: kbprb KB128816

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.