I want to create a DLL file which is compatible with MT4, which languages can I use?

 
Hello,

I am buiding a DLL file with external functions in it, so as I can call these external functions from DLL after I import DLL into MT4.

For MT4 to be able to call the DLL file, does the DLL file have to be windows 32 bit?

For MT4 to be able to call the DLL file, does the DLL file have to written in C++, or can I write DLL file (and external functions) in Java, Delphi, VB, etc. Which languages are ok to write DLL and functions in, so that MT4 can call and understand functions like TB_PlaceOrder, TB_getBidprice, TB_GetOrderID#, etc. (compatible).

Is there any other rules or info I need to know before I write my windows 32 bit, C++ DLL file and functions within DLL?

Thank you kindly in advance.

Regards

RJF
 
best case is Visual C++ 6.0 (there is part of Visual Studio 6.0)
our example is project for VisualStudio
 
Hi Slawa,

Thanks for this. Can I use straight C++ too?

Thank you again

Regards

Rod
 
I tried to create the dll in Visual basci but it didn't work.

I made it in VC++ , you download the source code from here:
http://www.forex-tsd.com/showthread.php?t=386

Straight C++ will work too, but isn't it hard?