Quote:
|
Originally Posted by Greentooth
Dear Boaders,
Does anyone have any idea how to mask external input value with ***** sign while keying in? The reason is that i wanted to password protect my EA for distribution. The current method will allows preying eyes seeing the password being typed.
The code i'm using now is this.
extern string Please_Enter_Password="0";
|
Its impossible, as far as I know. In regular programming, this requires special Password handling that isn't supported in MQL4. Since they don't make it available in the language, your EA can't do it. Technically, it would be the EA properties dialog box that MT4 uses to set the extern values that needs to change to support it. They would then have to provide a new MQL4 password type (meaning, rather than a string) that would then be hidden by the dialog.
There really isn't anything you can do about this other than ask the MT4 people to make it possible, somehow. And, frankly, I wouldn't hold my breath on this one... I don't think they would give it a high priority...
-CS