The information in this article applies to:
SYMPTOMSThe GetVersion Windows API function returns version 3.10 when in Windows version 3.11. CAUSEGetVersion still returns 3.10 while inside Windows for Workgroups version 3.11 because there were so many applications that were checking for the version number and requiring that the application be run under version 3.10. Therefore, Microsoft decided to have the GetVersion function continue to return version 3.10 in Windows version 3.11. WORKAROUNDTo look for Windows version 3.11 from within Windows, use the GetFileVersionInfo Windows API function instead of GetVersion. This article shows by example how to call GetFileVersionInfo from Visual Basic. STATUSThis behavior is by design to help developers who have developed applications that required and checked for Windows version 3.10. MORE INFORMATIONStep-by-Step Example
Additional query words: 3.00
Keywords : |
Last Reviewed: August 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |