PRB: "Error in Loading DLL" if Calling Multimedia API Functions
Article ID: 159408
Article Last Modified on 6/29/2004
APPLIES TO
- Microsoft Visual Basic 4.0 Standard Edition
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
This article was previously published under Q159408
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:
"Error in loading DLL"
CAUSE
The error occurs because the 32-bit API Text Viewer incorrectly uses
the Declare statements for Mmsystem.dll, which is a 16-bit DLL.
REFERENCES
For additional information, please see the following article in the Microsoft Knowledge Base:
141756 How to Play MIDI Files Using API Calls from Visual Basic
Keywords: kbapi kbprb kbmm KB159408