Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   MD5 plugin 0.3 (http://forums.winamp.com/showthread.php?t=218710)

Yathosho 12th June 2005 13:19

MD5 plugin 0.3
 
today i downloaded the new version of the archive and recompiled my old scripts.

Invalid command: md5dll::GetFileMD5

according to the archive page, the syntax hasn't changed and it works when i downgrade to 0.2

kichik 12th June 2005 13:32

It's GetMD5File:
Quote:

-Changed names: "GetFileMD5" -> "GetMD5File", "GetMD5" -> "GetMD5String"

deguix 12th June 2005 16:52

The example was updated here:
http://nsis.sourceforge.net/wiki/ind...tle=MD5_plugin

The author put a warning that that example shown on the Archive page was for the original plugin version. The example inside the .zip archive for the new version 1.3 is the updated one.

Afrow UK 13th June 2005 12:45

I was unable to use the new MD5 plugin because of that function name change. GetFileMD5 is used in hundreds of my scripts so I'm not going through them all to replace them!

-Stu

UnregisteredUs 13th June 2005 17:29

Afrow UK, have you ever heard of a little thing called "Search and Replace"? It's quite handy.

Afrow UK 13th June 2005 22:28

Quote:

Originally posted by Afrow UK
GetFileMD5 is used in hundreds of my scripts so I'm not going through them all to replace them!

pengyou 13th June 2005 23:13

Quote:

GetFileMD5 is used in hundreds of my scripts so I'm not going through them all to replace them!
There are lots of utilities which simplify this kind of task. I use Windows Grep when I need to change a string in lots of files http://www.wingrep.com/features.html

PerditionC 3rd July 2005 16:16

I uploaded a new version, it includes dual exports, so while the use of the newer function names is preferred, the old ones will still work.

Yathosho 3rd July 2005 16:20

the examples on the old archive page still used the old syntax, which lead to my confusion. hopefully the wiki page uses the new syntax already.

PerditionC 3rd July 2005 16:27

sorry about that, when I saw the 0.3 plugin and added to the old archive page I forgot to update the example, but with this release both the old and newer examples will work. :-)
Yes the wiki uses the new syntax.

deguix 3rd July 2005 17:39

That means, version 0.4 was released:
Quote:

-Added dual name to exports for backwards compatibility

PerditionC 3rd July 2005 17:53

off topic (somewhat related), how do you attach files to the wiki?

deguix 3rd July 2005 18:04

Login, then click "Upload file" on the left side of the page, where you see the "toolbox". I already uploaded the file for you and added the Versions History to the page, so nobody can be confused.


All times are GMT. The time now is 17:28.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.