Ticket #3536: WinAPI_GetVersion_Error.txt

File WinAPI_GetVersion_Error.txt, 10.5 KB (added by Bitnugger, 3 years ago)
Line 
1----------------------------------------------------------------------------------------------------
2    AutoIt 3.3.14.2
3----------------------------------------------------------------------------------------------------
4
5    correctly
6
7Line 13: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetExitCodeProcess.au3: If _WinAPI_GetVersion() >= 6.0 Then
8Line 10: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_ShellGetStockIconInfo.au3: If _WinAPI_GetVersion() < 6.0 Then
9
10    incorrectly - the version number is enclosed in quotation marks!
11
12Line  8: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_AddClipboardFormatListener.au3: If _WinAPI_GetVersion() < '6.0' Then
13Line 10: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_AddIconOverlay.au3: If _WinAPI_GetVersion() >= '6.0' Then
14Line 11: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_BeginBufferedPaint.au3: If _WinAPI_GetVersion() < '6.0' Then
15Line  7: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_CompareString.au3: If _WinAPI_GetVersion() < '6.1' Then
16Line 11: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_Create32BitHBITMAP.au3: If _WinAPI_GetVersion() < '6.0' Then
17Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_CreateObjectID.au3: If _WinAPI_GetVersion() < '6.0' Then
18Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_CreateSymbolicLink.au3: If _WinAPI_GetVersion() < '6.0' Then
19Line  5: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_DwmIsCompositionEnabled.au3: If _WinAPI_GetVersion() < '6.0' Then
20Line  8: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_DwmSetIconicThumbnail.au3: If (_WinAPI_GetVersion() < '6.1') Or (Not _WinAPI_DwmIsCompositionEnabled()) Then
21Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_EnumProcessModules.au3: If (_WinAPI_GetVersion() < '6.0') And (@AutoItX64) Then
22Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetConnectedDlg.au3: If _WinAPI_GetVersion() < '6.0' Then
23Line 12: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetDCEx.au3: If (_WinAPI_GetVersion() > '5.2') And (_WinAPI_DwmIsCompositionEnabled()) Then
24Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetFinalPathNameByHandleEx.au3: If _WinAPI_GetVersion() < '6.0' Then
25Line  5: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetIconInfoEx.au3: If _WinAPI_GetVersion() < '6.0' Then
26Line 10: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetThemeTransitionDuration.au3: If _WinAPI_GetVersion() < '6.0' Then
27Line 17: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetThreadLocale.au3: If _WinAPI_GetVersion() >= '6.0' Then
28Line 27: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetThreadLocale.au3:          If _WinAPI_GetVersion() >= '6.0' Then
29Line 37: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetThreadLocale.au3: If _WinAPI_GetVersion() >= '6.0' Then
30Line  3: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetVersion.au3: ConsoleWrite('Windows version: ' & _WinAPI_GetVersion() & @CRLF)
31Line  5: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_GetVolumeInformationByHandle.au3: If _WinAPI_GetVersion() < '6.0' Then
32Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_IsInternetConnected.au3: If _WinAPI_GetVersion() < '6.0' Then
33Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_LoadIconWithScaleDown.au3: If _WinAPI_GetVersion() < '6.0' Then
34Line  5: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_OpenFileById.au3: If _WinAPI_GetVersion() < '6.0' Then
35Line  8: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_RegisterApplicationRestart.au3: If _WinAPI_GetVersion() < '6.0' Then
36Line  8: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_SetCurrentProcessExplicitAppUserModelID.au3: If _WinAPI_GetVersion() < '6.1' Then
37Line  7: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_SetProcessShutdownParameters.au3: If _WinAPI_GetVersion() < '6.0' Then
38Line 11: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_SetWindowDisplayAffinity.au3: If (_WinAPI_GetVersion() < '6.1') Or (Not _WinAPI_DwmIsCompositionEnabled()) Then
39Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_SetWindowTheme.au3: If _WinAPI_GetVersion() < '6.0' Then
40Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_ShellGetKnownFolderPath.au3: If _WinAPI_GetVersion() < '6.0' Then
41Line  5: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_ShellGetLocalizedName.au3: If _WinAPI_GetVersion() < '6.0' Then
42Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_ShellNotifyIconGetRect.au3: If _WinAPI_GetVersion() < '6.1' Then
43Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_ShellOpenWithDlg.au3: If _WinAPI_GetVersion() < '6.0' Then
44Line  5: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_ShellSetLocalizedName.au3: If _WinAPI_GetVersion() < '6.0' Then
45Line  6: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_ShellUserAuthenticationDlgEx.au3: If _WinAPI_GetVersion() < '6.0' Then
46Line  7: c:\Program Files (x86)\AutoIt3\Examples\Helpfile\_WinAPI_ShutdownBlockReasonQuery.au3: If _WinAPI_GetVersion() < '6.0' Then
47
48----------------------------------------------------------------------------------------------------
49    AutoIt Beta 3.3.15.0
50----------------------------------------------------------------------------------------------------
51
52    correctly
53
54Line 13: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetExitCodeProcess.au3: If _WinAPI_GetVersion() >= 6.0 Then
55Line 10: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_ShellGetStockIconInfo.au3: If _WinAPI_GetVersion() < 6.0 Then
56
57    incorrectly - incorrectly - the version number is enclosed in quotation marks!
58
59Line  8: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_AddClipboardFormatListener.au3: If _WinAPI_GetVersion() < '6.0' Then
60Line 10: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_AddIconOverlay.au3: If _WinAPI_GetVersion() >= '6.0' Then
61Line 11: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_BeginBufferedPaint.au3: If _WinAPI_GetVersion() < '6.0' Then
62Line  7: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_CompareString.au3: If _WinAPI_GetVersion() < '6.1' Then
63Line 11: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_Create32BitHBITMAP.au3: If _WinAPI_GetVersion() < '6.0' Then
64Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_CreateObjectID.au3: If _WinAPI_GetVersion() < '6.0' Then
65Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_CreateSymbolicLink.au3: If _WinAPI_GetVersion() < '6.0' Then
66Line  5: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_DwmIsCompositionEnabled.au3: If _WinAPI_GetVersion() < '6.0' Then
67Line  8: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_DwmSetIconicThumbnail.au3: If (_WinAPI_GetVersion() < '6.1') Or (Not _WinAPI_DwmIsCompositionEnabled()) Then
68Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_EnumProcessModules.au3: If (_WinAPI_GetVersion() < '6.0') And (@AutoItX64) Then
69Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetConnectedDlg.au3: If _WinAPI_GetVersion() < '6.0' Then
70Line 12: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetDCEx.au3: If (_WinAPI_GetVersion() > '5.2') And (_WinAPI_DwmIsCompositionEnabled()) Then
71Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetFinalPathNameByHandleEx.au3: If _WinAPI_GetVersion() < '6.0' Then
72Line  5: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetIconInfoEx.au3: If _WinAPI_GetVersion() < '6.0' Then
73Line 10: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetThemeTransitionDuration.au3: If _WinAPI_GetVersion() < '6.0' Then
74Line 17: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetThreadLocale.au3: If _WinAPI_GetVersion() >= '6.0' Then
75Line 27: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetThreadLocale.au3:             If _WinAPI_GetVersion() >= '6.0' Then
76Line 37: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetThreadLocale.au3: If _WinAPI_GetVersion() >= '6.0' Then
77Line  3: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetVersion.au3: ConsoleWrite('Windows version: ' & _WinAPI_GetVersion() & @CRLF)
78Line  5: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_GetVolumeInformationByHandle.au3: If _WinAPI_GetVersion() < '6.0' Then
79Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_IsInternetConnected.au3: If _WinAPI_GetVersion() < '6.0' Then
80Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_LoadIconWithScaleDown.au3: If _WinAPI_GetVersion() < '6.0' Then
81Line  5: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_OpenFileById.au3: If _WinAPI_GetVersion() < '6.0' Then
82Line  8: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_RegisterApplicationRestart.au3: If _WinAPI_GetVersion() < '6.0' Then
83Line  8: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_SetCurrentProcessExplicitAppUserModelID.au3: If _WinAPI_GetVersion() < '6.1' Then
84Line  7: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_SetProcessShutdownParameters.au3: If _WinAPI_GetVersion() < '6.0' Then
85Line 11: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_SetWindowDisplayAffinity.au3: If (_WinAPI_GetVersion() < '6.1') Or (Not _WinAPI_DwmIsCompositionEnabled()) Then
86Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_SetWindowTheme.au3: If _WinAPI_GetVersion() < '6.0' Then
87Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_ShellGetKnownFolderPath.au3: If _WinAPI_GetVersion() < '6.0' Then
88Line  5: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_ShellGetLocalizedName.au3: If _WinAPI_GetVersion() < '6.0' Then
89Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_ShellNotifyIconGetRect.au3: If _WinAPI_GetVersion() < '6.1' Then
90Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_ShellOpenWithDlg.au3: If _WinAPI_GetVersion() < '6.0' Then
91Line  5: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_ShellSetLocalizedName.au3: If _WinAPI_GetVersion() < '6.0' Then
92Line  6: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_ShellUserAuthenticationDlgEx.au3: If _WinAPI_GetVersion() < '6.0' Then
93Line  7: c:\Program Files (x86)\AutoIt3\Beta\Examples\Helpfile\_WinAPI_ShutdownBlockReasonQuery.au3: If _WinAPI_GetVersion() < '6.0' Then