BUG: Incorrect Declaration for SelectObject API FunctionLast reviewed: October 16, 1996Article ID: Q150213 |
The information in this article applies to:
SYMPTOMSThe Win32Api.txt file contains an incorrect entry for the declaration of the 32-bit SelectObject function.
WORKAROUNDThe win32api.txt file contains the following incorrect declaration:
Declare Function SelectObject Lib "user32" Alias "SelectObject" _ ByVal hdc As Long, ByVal hObject As Long) As LongThe correct declaration is:
Declare Function SelectObject Lib "gdi32" Alias "SelectObject" _ (ByVal hdc As Long, ByVal hObject As Long) As LongNotice that the library name was incorrect in the original declaration.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional reference words: 4.00 vb4win vb432 buglist4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |