Download MetaTrader 5

DLL's

To add comments, please log in or register
Install apps from the library right in MetaTrader. It is easy!
ThreadHandle
105
ThreadHandle 2015.11.20 16:11 

I've created a C++ file and used all the right syntax required for mql4 to speak to my DLL such as #define MT4_EXPFUNC __declspec(dllexport), APIENTRY and _stdcall myfunc() etc 

Now im just wondering how to actually turn this into a .DLL. I've tried using visual studios implementation of a DLL "solution" and although i get a DLL file i also end up with a load of visual studio garbage and the actual file (aparently) doesnt contain the function that im calling once its loaded. Is there some specific command line arguments i have to use when building or is there another way of doing it without visual studio.

 

thanks. 

/
To add comments, please log in or register