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 , 15 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 14 years ago
| Milestone: | Future Release → 3.3.7.0 |
|---|
Note:
See TracTickets
for help on using tickets.

This has been fixed during #1471 fixing