The information in this article applies to:
SYMPTOMS
When you call multimedia API functions from 32-bit Visual Basic for Windows
using the Declare statements retrieved from the 32-bit API Text Viewer, the
following error message appears:
CAUSEThe error occurs because the 32-bit API Text Viewer incorrectly uses the Declare statements for Mmsystem.dll, which is a 16-bit DLL. MORE INFORMATION
A 32-bit program cannot directly execute functions in a 16-bit DLL. A
thunking layer is required. The thunking layer allows you to load a 16-bit
DLL and place the processor in 16-bit mode so you can execute the
appropriate code. However, Visual Basic for Windows cannot implement a
thunking layer and its use is not supported. There are two ways around this
behavior:
Additional query words: kbVBp kbDSupport kbdsd kbmm kbVBp400 kbAPI
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |