Expermicid Posted July 5, 2012 Share Posted July 5, 2012 (edited) Recien salidito xD [lenguaje=autoit]; Autor........ : Pink ; Nombre........: LOF ;Return..........: largo de Archivo en bytes. ; Uso............: LOF($sfile) ;Gracias Yashied por la Corrección func LOF($sFile) $hFile = DllCall('kernel32.dll', 'ptr', 'CreateFileW', 'wstr', $sFile, 'dword', 0x80000000, 'dword', 0x06, 'ptr', 0, 'dword', 3, 'dword', 0, 'ptr', 0) $Ret = DllCall('kernel32.dll', 'int', 'GetFileSizeEx', 'ptr', $hFile[0], 'uint64*', 0) DllCall('kernel32.dll', 'int', 'CloseHandle', 'ptr', $hFile[0]) Return $Ret[2] EndFunc[/lenguaje] Saludos Edited February 16, 2014 by Expermicid Link to comment Share on other sites More sharing options...
Lordcam Posted July 6, 2012 Share Posted July 6, 2012 Voy testear bro, haber que tal va. Link to comment Share on other sites More sharing options...
Recommended Posts