Modify

Opened 2 years ago

Closed 2 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: 3.3.15.1 Component: Documentation
Version: 3.3.14.0 Severity: None
Keywords: _WinAPI_GetVersion Cc:

Description

_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 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by Bitnugger

comment:1 Changed 2 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.

Jos

comment:2 Changed 2 years ago by Jpm

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

comment:3 Changed 2 years ago by Jpm

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

Fixed by revision [11845] in version: 3.3.15.1

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

Action
as closed The owner will remain Jpm.
Author


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

 
Note: See TracTickets for help on using tickets.