How to create dll

 

hi,


is anyone know how to create a dll file and use in MT4?


what is the programming tools need to use in order to create a dll? VB.net? C? C#? C++?


Please help. Thanks

 

Any of those languages can be used. You should google it, since it's outside the scope of this forum.

After you create a dll you need to import it before using it. See -> https://docs.mql4.com/basis/preprosessor/import

 
C, standard DLL
 

Sample code included with every MT4 install... \experts\samples\DLLSample

 
Ray:

Sample code included with every MT4 install... \experts\samples\DLLSample

hi mine doesn't have that folder where can i get it!?

tnX

 
10265293:

hi,


is anyone know how to create a dll file and use in MT4?


what is the programming tools need to use in order to create a dll? VB.net? C? C#? C++?


Please help. Thanks

Beware, you cant use dll in  MT4 VPS, before you go too far down that track.. ?
 
Ray #:

Sample code included with every MT4 install... \experts\samples\DLLSample

\Scripts\Samples\DLL\DLLSample.cpp

Reason: