Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
There's no def, I haven't figured out how to create one
Right click on the project --> Add --> New Item --> Visual C++ --> Module definition file (.def).
If you add the existing one by hand, it won't work, you need to create it by the studio.
but when transferring the whole EA code, the VS compiler complains about all predefined variables like OrderModify(), OrderSend().
How to solve this problem ????
Guys, how do we transfer AccountNumber() to the dll, specifically the predefined variable itself ????
Ask for this number by an EA and pass it as a parameter to a function
Guys, how to move AccountNumber() to dll itself predefined variable ????
You can't. It can always be substituted in MQL4 code. There is an option to control the contents of ex4 file (same CRC) but it works too.
________
Although no -- it can be read from window and possibly from terminal settings files.
Guys, how to pass to dll function from int start() { } ???? I have variables a and c I want to send them to dll, calculate and return results with ...
A function cannot be passed - it can only be called. And you can only pass a parameter to a function.
Ok ! I misspoke how to pass parameters to dll, then calculate them and return the result to EA ????
Take a look - it's easier to show it than to tell it at length.
>