MT4 DLL Not Support

 

MT4 also developed by its own company does not work why the DLL. Script under DLLSampleTester.mq4

Files:
 
Mehmet Bastem: MT4 also developed by its own company does not work why the DLL. Script under DLLSampleTester.mq4
That is very old code! I doubt it is compatible any more! It will have to be updated based on modern MQL4+ format as well as wide-byte based DLL calls!
 
Fernando Carreiro:
That is very old code! I doubt it is compatible any more! It will have to be updated based on modern MQL4+ format as well as wide-byte based DLL calls!

Thankyou Fernando;

This program was developed by Metaquetes and belongs to the latest version of Mt4.

 
Mehmet Bastem: Thankyou Fernando; This program was developed by Metaquetes and belongs to the latest version of Mt4.

Yes, I am well aware of that, but MetaQuotes has not updated that code for many years and it is still from the original from builds prior to the modern changes.

 

This problems is solved.

There is a 32-bit requirement for the DLL for MT4. 64 bit does not support.

The MT4 and MT5 VS2017 screenshots are enclosed.

Files:
MT5DLL.JPG  50 kb
 
How do you have the DllExport, is that needed? im not able to get the Dll working, says `unresolved import function call`
Reason: