MrBeatnik Posted April 27, 2006 Share Posted April 27, 2006 Hi all, Been lurking for a while, there had to be a point when I registered Why? This has me stumped! _StringEncrypt is not working for me.I even downloaded the AI3 zip file, and replaced my string.au3 in case it was corrupted, but still no joy.Can anyone suggest something Thanks!Code:#include <Constants.au3> #include <string.au3> $info = _StringEncrypt(1, "autoit", "testPass") MsgBox(0,"Test",$info)Error:C:\Program Files\AutoIt3\Include\string.au3(16,59) : ERROR: $strHex already declared as parameter Local $strChar, $aryHex, $i, $iDec, $Char, $file, $strHex, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Program Files\AutoIt3\Include\string.au3(60,112) : ERROR: $i_EncryptLevel already declared as parameter If Number($i_EncryptLevel) <= 0 Or Int($i_EncryptLevel) <> $i_EncryptLevel Then Local $i_EncryptLevel = 1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~^ C:\Documents and Settings\me\Desktop\TechLaunch\crypttest.au3 - 2 error(s), 0 warning(s) Please correct me if I am wrong in any of my posts. I like learning from my mistakes too. Link to comment Share on other sites More sharing options...
Matt Houston Posted April 27, 2006 Share Posted April 27, 2006 Hi, same error messages here - but it's working fine! Getting the message box with the crypted string I'm using the _StringEncrypt in another script which has been written with another editor (without au3check) - so i never knew about the errors. I just loaded the "old" script into SciTE - and received the same errors. As my script is working fine though - i think i will forget about it! Bye, Lars Link to comment Share on other sites More sharing options...
MrBeatnik Posted April 27, 2006 Author Share Posted April 27, 2006 Thanks Lars. Yeah, I should have mentioned that it does run ok, I am worried about anomolies when the script gets larger and does more complex things, but if the general thoughts are "don't worry", then I wont until I see the anomolies Cheers! Please correct me if I am wrong in any of my posts. I like learning from my mistakes too. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 27, 2006 Developers Share Posted April 27, 2006 Thanks Lars.Yeah, I should have mentioned that it does run ok, I am worried about anomolies when the script gets larger and does more complex things, but if the general thoughts are "don't worry", then I wont until I see the anomolies Cheers! The $strHex field shouldn't be in the Local declaration since its already defined in the Parameters of this function. It is fixed in the include supplied with the current Beta version. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Matt Houston Posted April 27, 2006 Share Posted April 27, 2006 Cool! Good to know! Thanks JdeB! 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