Modify

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#1800 closed Bug (Fixed)

_ClipPutFile error 9

Reported by: isolation Owned by:
Milestone: 3.3.7.0 Component: AutoIt
Version: 3.3.6.1 Severity: None
Keywords: _ClipPutFile GlobalFree Cc:

Description

Error in _ClipPutFile: "GlobalFree" returns 0 on success, but this is considered as an error.
See http://msdn.microsoft.com/en-us/library/aa366579%28VS.85%29.aspx

It always returns 9 as error... (Which is not described in the help files)

$aResult=DllCall("kernel32.dll","ptr","GlobalFree","handle",$hGlobal)
If (@error Or Not $aResult[0]) And Not $iError Then
     $iError = 9
     $iLastError = _WinAPI_GetLastError()
EndIf

Attachments (0)

Change History (3)

comment:1 by J-Paul Mesnage, 15 years ago

Resolution: Fixed
Status: newclosed

This has been fixed during #1471 fixing

comment:2 by TicketCleanup, 15 years ago

Milestone: Future Release

Automatic ticket cleanup.

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

Milestone: Future Release3.3.7.0

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


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