The information in this article applies to:
SUMMARY
The MAPI DLLs that come with Microsoft Windows, Windows NT, and Windows 95
include a set of BMapi calls that were designed for use with Microsoft
Visual Basic versions 1.0 through 3.0. Due to changes in the way Visual
Basic for Applications (and Visual Basic 4.0) byte aligns its user-defined
types, these function calls no longer work. Any attempts to use these calls
results in a General Protection Fault (GPF) or a Bad DLL Calling Convention
error message. The workaround is to use Vbamapi.dll or Vbamap32.dll. These
helper DLLs perform the same actions as the old BMapi calls, but they are
designed to work with Visual Basic for Applications and Visual Basic 4.0.
Anyone who wants to make direct MAPI calls from Visual Basic will be
required to use these (or similar) helper DLLs.
Q176916 : INFO: Active Messaging and Collaboration Data Objects (CDO)
MORE INFORMATION
Vbamapi.dll and Vbamap32.dll (along with their declarations files) are
available for download.
The following file is available for download from the Microsoft
Download Center. Click the file name below to download the file: Vb4mapi.exeFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. Additional query words: kbMAPI kbVBp400 kbWinOS98 kbVBp kbDSupport kbdse
Keywords : kbGrpVBDB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |