custom DLL - where to place it from setup

 

Hello,

can anyone give a definite information about where to place custom dlls by setup for MetaTrader5 on 32 bit and 64 bit os ?

 

for instance: 

- on 64 bit os 

  a) program files\...\mt5installpath

  b) system32

  c) users\...\AppData\Roaming\MetaQuotes\Terminal\HEXCODE\MQL5

  d) ...?

- on 32 bit os 

... ?

 

I meant the location where my setup can put the dll that way, that this dll is definitely used by my EA (and no safte copy or loacl copy) 

 

Note: this is not a question about "how to write a dll". It is question about "how to deploy a custom dll correctly". 

Thank you 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events - Documentation on MQL5