Modify

#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 Jpm, on Dec 9, 2010 at 9:46:12 PM

Resolution: Fixed
Status: newclosed

This has been fixed during #1471 fixing

comment:2 by TicketCleanup, on Dec 9, 2010 at 10:00:03 PM

Milestone: Future Release

Automatic ticket cleanup.

comment:3 by Jpm, on Feb 9, 2012 at 3:25:31 PM

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.