i'm used scrpit in Global Lua
alien = alien.core
shell = alien.load("shell32.dll")
gEmpRecycleBin = shell1.SHEmptyRecycleBinA
gEmpRecycleBin:types{ ret = 'long', abi = 'stdcall', 'long', 'string', 'ulong' }
function aEmpRecycleBin(hWnd, rootPath, dwFlags)
return gEmpRecycleBin(hWnd,rootPath, 0)
end
and use a scrpit in the action
aEmpRecycleBin(nil,nil,0)
when i execute this action,the windows give me a error,but use the script in Hotkeys is successful...
the windows is windows 10 64bit and windows 8.1 64bit,i find this error in shcore.dll,error code is 0xc0000005