Question re: Specification for C++ external library

 
Hello,

I want have someone write a simple external library in C++ that will be called from an EA.

I need to know how to describe the specification to them, specifically:

"The library needs to be able to be called from an external program that uses the _________ method for calling functions in an external .dll".

Can someone fill in the blank for me? The more detail, the better.

Thanks!

-Christian
 
DLL should provide __stdcall calling convention. Read "MQL4: Imported functions call"

See our dll example installed with client terminal
 
DLL should provide __stdcall calling convention. Read "MQL4: Imported functions call"

See our dll example installed with client terminal


Slawa,

Is it possible to import MT4 functions into the .dll
In other words, can I call, lets say Print(); from C++ .dll?
 
No, it's impossible.
Reason: