Opened 12 months ago

Last modified 10 months ago

#3982 closed Bug

_ClipPutFile should not free memory — at Initial Version

Reported by: Nine Owned by:
Milestone: Component: AutoIt
Version: 3.3.16.1 Severity: None
Keywords: Cc:

Description

As per discussion here and MSDN :

https://www.autoitscript.com/forum/topic/211212-how-to-copy-a-file-to-the-clipboard-for-pasting-in-explorer/#comment-1527751

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

should be removed from the script.

Change History (0)

Note: See TracTickets for help on using tickets.