Modify

Opened 9 years ago

Closed 9 years ago

#3536 closed Bug (Fixed)

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

Reported by: Bitnugger Owned by: J-Paul Mesnage
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 9 years ago.

Download all attachments as: .zip

Change History (4)

by Bitnugger, 9 years ago

Attachment: WinAPI_GetVersion_Error.txt added

comment:1 by Jos, 9 years ago

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

Jos

comment:2 by J-Paul Mesnage, 9 years ago

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

comment:3 by J-Paul Mesnage, 9 years ago

Milestone: 3.3.15.1
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [11845] in version: 3.3.15.1

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.