Opened 6 years ago

Closed 6 years ago

#3536 closed Bug (Fixed)

Almost all version queries with _WinAPI_GetVersion in \Examples\Helpfile\*.au3 is wrong...

Reported by: Bitnugger Owned by: Jpm
Milestone: Component: Documentation
Version: Severity: None
Keywords: _WinAPI_GetVersion Cc:


_WinAPI_GetVersion() ................... --> 10.0
If _WinAPI_GetVersion() < '6.0' Then ... --> True
If _WinAPI_GetVersion() < 6.0 Then ... --> False

Would be nice if someone corrected that.

Attachments (1)

WinAPI_GetVersion_Error.txt (10.5 KB) - added by Bitnugger 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Bitnugger

comment:1 Changed 6 years ago by Jos

Doesn't _WinAPI_GetVersion return a string, so don't think we can do any numeric comparison with GT or LT.


comment:2 Changed 6 years ago by Jpm

As the function is returning a number I will change it from string to a real number

comment:3 Changed 6 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11845] in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.