Download MetaTrader 5

Hide "dependencies" DLL

To add comments, please log in or register
positivezero
32
positivezero 2015.05.26 10:02 

Hi, is there any function in MQL to hide "dependencies" DLL in EA? Thx.

 

 

Drazen Penic
2575
Drazen Penic 2015.05.26 17:36  
No.
positivezero
32
positivezero 2015.05.27 15:55  
I have an EA that obviously work with DLL but the dependencies tab is not shown. Is it because it was compiled using old MQL?
Drazen Penic
2575
Drazen Penic 2015.05.27 16:34  

Probably.

Keep original ex4 and try to compile EA with new compiler.

I tried to compile EA with and without "#property  strict" and it shows dependencies tab in both cases.

So, probably EA is compiled with compiler older than v600. 

Alain Verleyen
Moderator
31134
Alain Verleyen 2015.05.27 19:58  
positivezero:

Hi, is there any function in MQL to hide "dependencies" DLL in EA? Thx.

 

 

Why do you care ?
positivezero
32
positivezero 2015.05.28 06:13  
Because I want to give my ea to someone without him even care what DLL be used.
Alain Verleyen
Moderator
31134
Alain Verleyen 2015.05.28 08:09  
positivezero:
Because I want to give my ea to someone without him even care what DLL be used.
It's a good thing it's not possible to hide it. No offense.
CrazyCoder
17
CrazyCoder 2015.05.29 13:46  
When I see that kind of question I always think that a con is behind. Sorry if you are not but it seems very weird to hide dll to someone. It's like cheating him...
positivezero
32
positivezero 2015.05.29 17:40  
It's not a con. Why would I be the con? I create the expert. I just don't want anybody to see what dll I am using. That's all..
Vladimir Karputov
Moderator
49445
Vladimir Karputov 2015.05.29 17:59  
positivezero :
It's not a con. Why would I be the con? I create the expert. I just don't want anybody to see what dll I am using. That's all..
Hide the use of the DLL is not correct.
Jian Chen
Moderator
3646
Jian Chen 2015.05.30 17:01  

If you want this badly, there is a walkaround...

You may develop a "proxy DLL". You use it to connect your MQL code, and you use "LoadLibrary/GetProcAddress" Windows APIs to load other working DLL(s) and call the real work functions. 

While the EA users can only see the "proxy DLL" in the DLL dependencies. 

12
To add comments, please log in or register