Modify

Opened 11 years ago

Closed 11 years ago

Last modified 10 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 Changed 11 years ago by Jpm

  • Resolution set to Fixed
  • Status changed from new to closed

This has been fixed during #1471 fixing

comment:2 Changed 11 years ago by TicketCleanup

  • Milestone set to Future Release

Automatic ticket cleanup.

comment:3 Changed 10 years ago by Jpm

  • Milestone changed from Future Release to 3.3.7.0

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 ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.