You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.