DOCFIX: SelectObject Declaration is Incorrect in API Viewer (150950)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q150950 SUMMARY
The following describes a documentation error for the SelectObject function
call as listed in the 32-bit edition of Visual Basic version 4.0
WIN32API.TXT file used by the Application Programming Interface (API)
Viewer:
Declare Function SelectObject Lib "user32" Alias "SelectObject" _
(ByVal hdc As Long, ByVal hObject As Long) As Long
Attempting to use this function as documented results in the following
(error 453) error message:
Specified DLL Function Not Found
STATUS
This documentation error was fixed in Visual Basic 5.0.
Modification Type: | Minor | Last Reviewed: | 7/16/2004 |
---|
Keywords: | KB150950 |
---|
|