Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1344 closed Bug (Fixed)

_WinAPI_CreateFile - Use of magic number and resulting 64-bit incompatibility

Reported by: Miraged Owned by: Gary
Milestone: 3.3.2.0 Component: Standard UDFs
Version: 3.3.0.0 Severity: None
Keywords: _WinAPI_CreateFile magic numbers Cc:

Description

Said function tests for 0xFFFFFFFF (which equals INVALID_HANDLE_VALUE under 32-bit only). Should probably be changed to a constant and use the value -1 (or perhaps (Ptr("")-1)) for 64-bit compatibility. I've also attached a corrected version of WinAPI.au3. Changes are on lines 28 and 980.

See this post: Intel Software Network Blogs for slightly more information if you need it.

Attachments (1)

WinAPI_Modified.zip (59.4 KB ) - added by Miraged 16 years ago.
Zip file containing modified version of WinAPI.au3

Download all attachments as: .zip

Change History (6)

by Miraged, 16 years ago

Attachment: WinAPI_Modified.zip added

Zip file containing modified version of WinAPI.au3

comment:1 by Miraged, 16 years ago

Can be marked as fixed/closed. Fixed in 3.3.2.0

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

Resolution: Fixed
Status: newclosed

comment:3 by TicketCleanup, 16 years ago

Milestone: Future Release

Automatic ticket cleanup.

comment:4 by Valik, 16 years ago

Milestone: Future Release3.3.2.0

Ugh, so you filed a bug report against an old version not bothering to test that it was fixed in the betas?

comment:5 by Miraged, 16 years ago

Well I checked the change logs and there was no mention there so I assumed that would be sufficient. Granted it is an old version date wise, but it was the latest stable release at the time I filed the report. Perhaps there should be a note on the main page of the bug tracker to check the beta's incase the change isn't listed in the change log or something? Regardless, this isn't a forum so I'll leave it be.

Modify Ticket

Action
as closed The owner will remain Gary.

Add Comment


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