I just created a default EA template via the wizard and added/removed nothing from the code. When I attach this empty EA to a chart, the option to "Allow DLL imports" is greyed out and cannot be changed by the user.
Can someone tell me why this is happening and how to re-enable the option to choose?
Add a DLL function call to your code . . .
Ahh, as simple as that. It's curious because the *old* EA I loaded didn't have any DLL calls in it either yet the option was not greyed out.
Ahh, as simple as that. It's curious because the *old* EA I loaded didn't have any DLL calls in it either yet the option was not greyed out.
THE LATEST BUILD 610 AUTOMATICALLY GREYS OUT ANY EXPERT ADVISOR THAT DOES NOT HAVE A DLL FILE ASSOCIATED WITH IT. IF YOU SEE GREY, THAT MEANS IT DOESN'T HAVE A DLL FILE--SO YOU DON'T NEED TO CHECK IT ANYWAY.
This is a very bad.
I'm use an indicator that calls a dll.
In the EA I use iCustom and the Allow DLL is disabled in the EA because it's not calling a dll.
The solution was making a dummy dll call in the EA like that:
// This is a dummy dll call to enable the dll calling #import "user32.dll" int SetWindowTextA(int hWnd,char &lpString[]); #import int init() { //this call to the dll will never be executed. if(false){char test[1]; SetWindowTextA(NULL,test);} return (0); }
I am currently running an EA in 4 different platform Suddenly I notice a Bugs with my EA in 2 Platform I finally notice that Allow ddl Imports its Disable itself in those 2 Platform
But still Enable in 2 platform that work accurately, I have try all I could to Enable it back in those 2 Platform but failed still afraid that those remain 2 could disable itself one day
I deleted the EA and Reinstall still the DDL is Disable
Please Help Any Solution...?
I am currently running an EA in 4 different platform Suddenly I notice a Bugs with my EA in 2 Platform I finally notice that Allow ddl Imports its Disable itself in those 2 Platform
But still Enable in 2 platform that work accurately, I have try all I could to Enable it back in those 2 Platform but failed still afraid that those remain 2 could disable itself one day
I deleted the EA and Reinstall still the DDL is Disable
Please Help Any Solution...?
This problem is no more present in build 613.
I am still waiting for an answer the moderator,......?
Thanks.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I just created a default EA template via the wizard and added/removed nothing from the code. When I attach this empty EA to a chart, the option to "Allow DLL imports" is greyed out and cannot be changed by the user.
Can someone tell me why this is happening and how to re-enable the option to choose?
If I drag in one of many OLD EA's this does not happen and the "Allow DLL Import" option is working perfectly - so what's changed. Do I need to include a directive in the code somewhere or set an option in the compiler? I can't find ANY mention of this behaviour in the documentation.