Experts: Adding password protection to your Indicator / Expert Advisor - page 2

 

 

"So in general, the code I published was to stimulate creativity on the developer's side and encourage further development."

Hello Claude,

thank you for your answer, you are right. Your code is excellent, and so is the idea behind.

And with your statement above you have been successfull! You stole my complete weekend ;-), i'am stimulated...

best regards,

Wolfgang 

 

 
Hello sir firstly thank's for your kind,and i hope God Bless you always.
i try to put your code and it work well with same Operating System(OS),
But when i Generated the password from my Windows 7 .
then  run it to windows XP it say Wrong password as we did unmatch Password.
is there anyway to solve this?

i am sorry for my bad English.
 
Hidayat Nur Wahit:
Hello sir firstly thank's for your kind,and i hope God Bless you always.
i try to put your code and it work well with same Operating System(OS),
But when i Generated the password from my Windows 7 .
then  run it to windows XP it say Wrong password as we did unmatch Password.
is there anyway to solve this?

i am sorry for my bad English.

Hi Hidayat,

The OS should not affect the encryption.  I have an old XP machine and I will try it out this weekend.

Are you sure you're using the same client ID and Account number on BOTH machines? 

In the mean time, could you generate a password (with the same input client) on both OS.  They should be the same.

Thanks,

-Claude.

 

Yes i have use same Client Input,
and it give me 2 diferent Key.
you can see in attached file.

more code on windows 7 ultimate is AAAAAAAAAAA=,
the other is same.

Thank for your fast reply

Files:
windows_7.png  138 kb
windows_xp.png  79 kb
 
Hidayat Nur Wahit:

Yes i have use same Client Input,
and it give me 2 diferent Key.
you can see in attached file.

more code on windows 7 ultimate is AAAAAAAAAAA=,
the other is same.

Thank for your fast reply

Hidayat,

 

I have not been able to duplicate the error since my XP machine is now dead :(

Please run the revised code on both your machines and send me the screen captures.

Thank you.

Files:
 

Very nice method and good software!

My question is : if I de-compile the code and put under comment your security lines this bypass the problem or not? 

 
Hello Thanks for the info by any chance do you have any document where i can see  the EA finished with  code  on it etc,i'm trying to do it with my EA but i keep getting the error code on the Init funtion
 
Hello sir. Could you give the link to make a video about it.
You will very much
 

I'm getting the following errors. I am not sure why as I followed Claude's instruction as well as I could.


'Password_Check' - function not defined

and also

'Password_Check' - function can be declared only in the global scope


I'm not a coder so not sure how to remedy the situation.

Thanks in advance

 

fantastic and so simple, well done Sir build mt4 1090 works flawlessly!