Marc Posted November 6, 2004 Share Posted November 6, 2004 @piccaso used the standard _FileCountLines from the library "file.au3" before... Short Benchmark with a 600kB Text File: 300.7 Ticks for the UDF 5.4 Ticks for the DLL Satisfying Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted February 10, 2005 Share Posted February 10, 2005 Hum...that md5.dll file, its returning the same (blank) md5 for files. It doesn't work on folders either (I was hoping...) Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
therks Posted February 10, 2005 Share Posted February 10, 2005 Works fine for me. $return1 = DllCall("md5.dll", "str", "GetMD5FromFile", "str", "md5.dll") $return2 = DllCall("md5.dll", "str", "GetMD5FromString", "str", "String Value") $return = 'From File: ' & $return1[0] & @LF &_ 'From String: ' & $return2[0] ClipPut($return) From File: 0ab37566b6bd301ed477d2a59ef5dc18 From String: 4eb7d75482dd3cdda2051a7da24b00d1 My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted February 10, 2005 Share Posted February 10, 2005 hum...not sure what the error was...meh If only it worked with directories Close enough, I'll just md5sum the important files... Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
Nutster Posted February 17, 2005 Share Posted February 17, 2005 @nutsterstill pissed? <{POST_SNAPBACK}>Never was. I was interested in your contribution and did some optimizations based on what I saw in there, but your posting never annoyed me. Way to go! David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... Link to comment Share on other sites More sharing options...
mr.underperson Posted May 14, 2006 Share Posted May 14, 2006 MSLx Fanboy, it's trivial to loop through a directory and grab all the md5s. And with this dll, it's also FAST! $files = FileFindFirstFile($some_folder & "\*.*") etc. Very nice, piccaso! Just what I was after, thanks! -mu Link to comment Share on other sites More sharing options...
GioVit Posted May 17, 2006 Share Posted May 17, 2006 Hi, Piccaso where are the files regex.zip and linecount.zip, I can't download it. Link to comment Share on other sites More sharing options...
mr.underperson Posted May 27, 2006 Share Posted May 27, 2006 I always meant to come back to say, this md5.dll, it's nice, but for some reason, files over about 2 or 300MB fail. A hash is returned, but it's not correct, and the dll finishes ahead of time (i.e. quicker than say a 150MB file).Has anyone else noticed this?I haven't tested the string length, kinda moved on to a different plugin... -mu Link to comment Share on other sites More sharing options...
piccaso Posted May 27, 2006 Author Share Posted May 27, 2006 (edited) Hi, Piccasowhere are the files regex.zip and linecount.zip, I can't download it.Lost, sorry mabe Marc still has linecout.zipregex.zip is useless now, nutster did a fine job I always meant to come back to say, this md5.dll, it's nice, but for some reason, files over about 2 or 300MB fail. A hash is returned, but it's not correct, and the dll finishes ahead of time (i.e. quicker than say a 150MB file).Has anyone else noticed this?I haven't tested the string length, kinda moved on to a different plugin... -muIts not desiged to hash such large files, you probably ran out of memory and got back the hash of an empty string (read above)its fast and small because the hashing routine is written in asembler but its not flexible unlike to other md5 solutions the complete data must be loaded into memory bevore hashing and there are probably better solutions out there (specialy for hashing large files) Edited May 27, 2006 by piccaso CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
trademaid Posted May 8, 2008 Share Posted May 8, 2008 the link to md5 fails http://www.autoitscript.com/fileman/users/public/piccaso/md5.dllwhere do it get it from?where do I put the dll in my computer?ie C:\Program Files\AutoIt3 Link to comment Share on other sites More sharing options...
quake101 Posted June 4, 2008 Share Posted June 4, 2008 the link to md5 fails http://www.autoitscript.com/fileman/users/public/piccaso/md5.dllwhere do it get it from?I'm also looking for this file. Can someone post a new link? Thanks! Link to comment Share on other sites More sharing options...
gseller Posted June 4, 2008 Share Posted June 4, 2008 The link in line one doesn't work.. Would like to try it when ya get it back on there.. Link to comment Share on other sites More sharing options...
quake101 Posted June 4, 2008 Share Posted June 4, 2008 I ended up using this Link to comment Share on other sites More sharing options...
aquila Posted December 25, 2009 Share Posted December 25, 2009 (edited) Looking for this md5.dll cause the udf doesnt work @ some pcs. using now HasLib.dll, works fine! thx Edited December 25, 2009 by aquila Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now