Download MetaTrader 5

Hide "dependencies" DLL

To add comments, please log in or register
positivezero
33
positivezero  

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

 

 

Drazen Penic
2703
Drazen Penic  
No.
positivezero
33
positivezero  
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
2703
Drazen Penic  

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
33487
Alain Verleyen  
positivezero:

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

 

 

Why do you care ?
positivezero
33
positivezero  
Because I want to give my ea to someone without him even care what DLL be used.
Alain Verleyen
Moderator
33487
Alain Verleyen  
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  
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
33
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..
Vladimir Karputov
Moderator
68542
Vladimir Karputov  
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
4404
Jian Chen  

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