Opened on Jan 26, 2022 at 12:04:39 PM
Closed on Jan 27, 2022 at 8:35:03 PM
Last modified on Jan 30, 2022 at 4:04:17 PM
#3860 closed Bug (No Bug)
Declared var not detected
| Reported by: | KaFu | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | 3.3.15.4 | Severity: | None |
| Keywords: | Cc: |
Description
#include <WinAPIInternals.au3>
MsgBox(0,"",$WINVER)
AU3Check 3.3.15.4 returns "$WINVER: possibly used before declaration." for this code, prod doesn't.
Attachments (0)
Change History (8)
follow-up: 4 comment:2 by , on Jan 27, 2022 at 12:28:19 PM
Jos, you didn't use the correct token. $__WINVER
comment:4 by , on Jan 27, 2022 at 3:23:04 PM
Replying to anonymous:
Jos, you didn't use the correct token.
$__WINVER
i did use what was posted as issue so not sure why you responded like this ....right? ;)
comment:5 by , on Jan 27, 2022 at 6:57:06 PM
It’s indeed
$__WINVER
Tracs validator seems to eat the underscores, sorry for not realizing.
Currently traveling, so mit sure about the latest prod version, but should be latest one.
comment:7 by , on Jan 27, 2022 at 8:35:03 PM
| Component: | Au3Check → Standard UDFs |
|---|---|
| Resolution: | → No Bug |
| Status: | new → closed |
Ok understand.
So looks like the INTERNAL variable is removed from Beta, so you need to set it yourself using _WinAPI_GetVersion()
Jos
comment:8 by , on Jan 30, 2022 at 4:04:17 PM
Yep, confirmed, the INTERNAL variable was removed from Beta, so NO BUG.

AU3Check 3.3.14.5 returns the exact same error for me... which version are you running with production?
Jos