The information in this article applies to:
SUMMARYThe following error occurs when you use the GetVersionEx API function declaration from the API Text Viewer.
MORE INFORMATIONThe Declare statement for GetVersionEx in the API Text Viewer incorrectly passes a user-defined data type using the ByVal keyword. To correct this problem, remove the ByVal modifier. The correct declaration is:
You can also change the statement in the file win32api.txt so the next time
you use the API Text Viewer, the Declare statement will be correct.
REFERENCESFor more information on using GetVersionEx, please see the following article in the Microsoft Knowledge Base: Q189249 HOWTO: Determine Which 32-bit Operating System Is Being UsedTo learn more about the Windows API and the API Text Viewer, please see: Visual Basic Books Online; search on: "API"; topic: Accessing the Microsoft Windows API(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Richard T. Edwards, Microsoft Corporation STATUS
This documentation error has been fixed in Visual Basic 6.0. Additional query words: kbAPI kbVBp400bug kbVBp500bug kbDSupport kbDSD kbVBp600fix
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |