PRB: Error in loading DLL When LIBRARY & File Names Different (98309)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q98309 SYMPTOMS
The "Error in loading DLL" error message occurs if you call a DLL and
the LIBRARY name of the DLL is different from the filename.
STATUS
This behavior is by design. Visual Basic ensures that the LIBRARY name and
filename of a DLL match. If they don't match, Visual Basic generates the
"Error in loading DLL" error.
Visual Basic version 3.0 does not require that the LIBRARY name and the
filename be the same for a DLL. However, unless you are designing a DLL
specifically to be called from Visual Basic version 3.0 or some other
application not written using Visual Basic, we recommend that you use the
same name for both the LIBRARY name and filename of a DLL.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbprb KB98309 |
---|
|